diff options
author | 2015-06-15 00:17:49 +0200 | |
---|---|---|
committer | 2015-06-15 00:17:49 +0200 | |
commit | 71d5584e82050a66aa5306ce99e43e7cbc3a62a7 (patch) | |
tree | 5af9cefdee9d4b4b97caee9ba3c10a8bc8b73d3f /module/plugins/internal/Account.py | |
parent | Update Container (diff) | |
download | pyload-71d5584e82050a66aa5306ce99e43e7cbc3a62a7.tar.xz |
Fix new internal plugins
Diffstat (limited to 'module/plugins/internal/Account.py')
-rw-r--r-- | module/plugins/internal/Account.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index 654296f32..27a040e24 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -6,7 +6,7 @@ import time import traceback from module.plugins.internal.Plugin import Base -from module.utils import compare_time, lock, parse_size +from module.utils import compare_time, lock, parseFileSize class WrongPassword(Exception): @@ -14,11 +14,6 @@ class WrongPassword(Exception): class Account(Base): - """ - Base class for every Account plugin. - Just overwrite `login` and cookies will be stored and account becomes accessible in\ - associated hoster plugin. Plugin should also provide `loadAccountInfo` - """ __name__ = "Account" __type__ = "account" __version__ = "0.03" @@ -29,6 +24,8 @@ class Account(Base): def __init__(self, manager, accounts): + super(Account, self).__init__(manager.core) + self.manager = manager self.accounts = {} self.infos = {} #: cache for account information |