summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r--module/plugins/Account.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index 291ebf1f5..28d9ffd68 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -24,8 +24,8 @@ class Account(Base):
__version__ = "0.3"
__description__ = """Base account plugin"""
- __author_name__ = "mkaay"
- __author_mail__ = "mkaay@mkaay.de"
+ __authors__ = [("mkaay", "mkaay@mkaay.de")]
+
#: after that time (in minutes) pyload will relogin the account
login_timeout = 10 * 60
@@ -67,13 +67,13 @@ class Account(Base):
self.login(user, data, req)
except WrongPassword:
self.logWarning(
- _("Could not login with account %(user)s | %(msg)s") % {"user": user
- , "msg": _("Wrong Password")})
+ _("Could not login with account %(user)s | %(msg)s") % {"user": user,
+ "msg": _("Wrong Password")})
success = data['valid'] = False
except Exception, e:
self.logWarning(
- _("Could not login with account %(user)s | %(msg)s") % {"user": user
- , "msg": e})
+ _("Could not login with account %(user)s | %(msg)s") % {"user": user,
+ "msg": e})
success = data['valid'] = False
if self.core.debug:
print_exc()