summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-18 06:04:18 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-27 22:36:18 +0100
commita0abb1ffa5662f1a14be6ea33fbceba33357bbf5 (patch)
tree873123c6277643183ca03c54a80e3ab554b61854 /module/plugins/internal
parentNew plugin: EventMapper (diff)
downloadpyload-a0abb1ffa5662f1a14be6ea33fbceba33357bbf5.tar.xz
Don't use PERIODICAL_INTERVAL
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/Account.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py
index 7c614f579..f2ab73653 100644
--- a/module/plugins/internal/Account.py
+++ b/module/plugins/internal/Account.py
@@ -23,9 +23,7 @@ class Account(Plugin):
LOGIN_TIMEOUT = 30 * 60 #: Relogin account every 30 minutes
TUNE_TIMEOUT = True #: Automatically tune relogin interval
- PERIODICAL_INTERVAL = None
-
-
+
def __init__(self, manager, accounts):
self._init(manager.core)
@@ -74,7 +72,7 @@ class Account(Plugin):
def set_interval(self, value):
- newinterval = max(0, self.PERIODICAL_INTERVAL, value)
+ newinterval = max(0, value)
if newinterval != value:
return False