From c0002f4f093ae68496491563d596065a8eff7140 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 11 Dec 2018 22:27:58 +0000 Subject: Re-add accidentally removed ":" in trakt.py --- modules/trakt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/trakt.py b/modules/trakt.py index 3827e658..39f3a44b 100644 --- a/modules/trakt.py +++ b/modules/trakt.py @@ -24,7 +24,7 @@ class Module(ModuleManager.BaseModule): "trakt-api-version": "2", "trakt-api-key": self.bot.config["trakt-api-key"]}, json=True, code=True) - if page + if page: if page.code == 200: type = page.data["type"] if type == "movie": -- cgit v1.3.1-10-gc9f91