diff options
author | 2015-10-21 01:51:12 +0200 | |
---|---|---|
committer | 2015-10-21 01:51:12 +0200 | |
commit | 52dabdbe4241b6c6af8bc139d480be5ed2af2294 (patch) | |
tree | b09a4313a3b5f6c507dc4e961eee2496f9e7b9cb /module/plugins/internal/Account.py | |
parent | [Notifier] Fix https://github.com/pyload/pyload/issues/2090 (diff) | |
download | pyload-52dabdbe4241b6c6af8bc139d480be5ed2af2294.tar.xz |
Boring code cosmetics (2)
Diffstat (limited to 'module/plugins/internal/Account.py')
-rw-r--r-- | module/plugins/internal/Account.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index f55ae90ed..211ad7fb3 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -20,8 +20,8 @@ class Account(Plugin): __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - LOGIN_TIMEOUT = 30 * 60 #: Relogin account every 30 minutes - TUNE_TIMEOUT = True #: Automatically tune relogin interval + LOGIN_TIMEOUT = 30 * 60 #: Relogin account every 30 minutes + TUNE_TIMEOUT = True #: Automatically tune relogin interval PERIODICAL_INTERVAL = None @@ -44,13 +44,6 @@ class Account(Plugin): self.init() - def init(self): - """ - Initialize additional data structures - """ - pass - - def set_interval(self, value): newinterval = max(0, self.PERIODICAL_INTERVAL, value) |