From 84f2193d76f7c6f47c834dc8902d8ead8e45a11a Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 2 Aug 2015 07:44:07 +0200 Subject: Fix https://github.com/pyload/pyload/issues/1640 (2) --- module/plugins/internal/Account.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'module/plugins/internal/Account.py') diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index 021dedf60..1da31eede 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -13,7 +13,7 @@ from module.utils import compare_time, lock, parseFileSize as parse_size class Account(Plugin): __name__ = "Account" __type__ = "account" - __version__ = "0.13" + __version__ = "0.14" __status__ = "testing" __description__ = """Base account plugin""" @@ -27,10 +27,9 @@ class Account(Plugin): def __init__(self, manager, accounts): - self.pyload = manager.core - self.info = {} #: Provide information in dict here + self._init(manager.core) + self.lock = threading.RLock() - self.req = None self.accounts = accounts #@TODO: Remove in 0.4.10 self.init() -- cgit v1.2.3