diff --git a/sickbeard/notifiers/trakt.py b/sickbeard/notifiers/trakt.py index 4cac11f9..d16f63c3 100644 --- a/sickbeard/notifiers/trakt.py +++ b/sickbeard/notifiers/trakt.py @@ -73,7 +73,7 @@ class TraktNotifier: """ data = TraktCall("account/test/%API%", api, username, password, {}) - if data["status"] == "success": + if data and data["status"] == "success": return True def _username(self):