Fix bug when no api_secret is set

pull/54/head
Mitchell Klijs 7 years ago
parent ccf9fdf361
commit 97f9ab12fb

@ -163,7 +163,11 @@ class Trakt:
if user is None:
users = self.cfg['trakt']
if 'api_key' in users.keys():
users.pop('api_key')
if 'api_secret' in users.keys():
users.pop('api_secret')
user = list(users.keys())[0]

Loading…
Cancel
Save