diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-29 23:04:51 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-29 23:04:51 +0200 |
commit | ee746bbe9c1bdb8fefbb3c8c8ac52d97672e5f19 (patch) | |
tree | 520fb0b5b6b76493c763f639e3ed29571423bbbc /module/plugins/internal | |
parent | Update hoster plugins (diff) | |
download | pyload-ee746bbe9c1bdb8fefbb3c8c8ac52d97672e5f19.tar.xz |
[Account] Hotfix
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/Account.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index 918c32c42..196589e85 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -12,7 +12,7 @@ from module.utils import compare_time, lock, parseFileSize as parse_size class Account(Plugin): __name__ = "Account" __type__ = "account" - __version__ = "0.51" + __version__ = "0.52" __status__ = "testing" __description__ = """Base account plugin""" @@ -189,12 +189,12 @@ class Account(Plugin): def get_login(self, key=None, default=None): d = self.get_info()['login'] - return d.get(key, default) if key or d + return d.get(key, default) if key else d def get_data(self, key=None, default=None): d = self.get_info()['data'] - return d.get(key, default) if key or d + return d.get(key, default) if key else d def _grab_info(self): |