summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Account.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-02 07:44:07 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-02 07:44:07 +0200
commit84f2193d76f7c6f47c834dc8902d8ead8e45a11a (patch)
treeabcb748a676991f5987a8cd78a0814889d175656 /module/plugins/internal/Account.py
parent[AntiStandby] Improve linux_standby (diff)
downloadpyload-84f2193d76f7c6f47c834dc8902d8ead8e45a11a.tar.xz
Fix https://github.com/pyload/pyload/issues/1640 (2)
Diffstat (limited to 'module/plugins/internal/Account.py')
-rw-r--r--module/plugins/internal/Account.py7
1 files changed, 3 insertions, 4 deletions
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()