diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-29 12:26:51 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-29 12:26:51 +0200 |
commit | f5ba5119e884b09e7b1c56b45ac16932a9346619 (patch) | |
tree | 8a084169366fe568c888309b8f6e60264e1ac0d1 /module | |
parent | [Plugin] Fix set_cookies (diff) | |
parent | Update Account.py (diff) | |
download | pyload-f5ba5119e884b09e7b1c56b45ac16932a9346619.tar.xz |
Merge pull request #1593 from TodsDeath/patch-1
Update Account.py, fixed not-working premium downloads
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/Account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index 3084f02c7..d6e4ce8ab 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -232,7 +232,7 @@ class Account(Plugin): return False info = self.get_info(user, reload) - return info['premium'] if info and 'premium' in info else False + return info.get('data', {}).get('premium', False) def _parse_info(self, user): |