summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
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