From 52dabdbe4241b6c6af8bc139d480be5ed2af2294 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 21 Oct 2015 01:51:12 +0200 Subject: Boring code cosmetics (2) --- module/plugins/internal/Account.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'module/plugins/internal/Account.py') 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) -- cgit v1.2.3