Skip to content

Commit

Permalink
possible fix for #172
Browse files Browse the repository at this point in the history
  • Loading branch information
oczkers committed Dec 8, 2015
1 parent c4dad3d commit 3a5963c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fut/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def __login__(self, email, passwd, secret_answer, platform='pc', code=None, emul
# sort clubs by lastAccessTime (latest first)
# self.clubs.sort(key=lambda i: i['lastAccessTime'], reverse=True)
for c in p['userClubList']:
if game_sku in c['skuAccessList']:
if c['skuAccessList'] and game_sku in c['skuAccessList']:
self.persona_id = p['personaId']
self.persona_name = p['personaName']
break
Expand Down

0 comments on commit 3a5963c

Please sign in to comment.