mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fixed trakt.tv error, TypeError: 'NoneType' object has no attribute '__getitem__'
This commit is contained in:
parent
42e1994cba
commit
20aa4b6331
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user