diff options
Diffstat (limited to 'pyload/plugin/Account.py')
-rw-r--r-- | pyload/plugin/Account.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pyload/plugin/Account.py b/pyload/plugin/Account.py index bc13c0497..c46eae5e3 100644 --- a/pyload/plugin/Account.py +++ b/pyload/plugin/Account.py @@ -231,7 +231,8 @@ class Account(Base): """ returns an valid account name and data""" usable = [] for user, data in self.accounts.iteritems(): - if not data['valid']: continue + if not data['valid']: + continue if "time" in data['options'] and data['options']['time']: time_data = "" @@ -253,7 +254,8 @@ class Account(Base): usable.append((user, data)) - if not usable: return None, None + if not usable: + return None, None return choice(usable) |