summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index d0beaa8dc..19ab8f4ba 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -47,11 +47,11 @@ class Account():
try:
self.login(user, data)
except WrongPassword:
- self.core.log.warning(_("Could not login with %s account %s | %s") % (self.__name__, user, _("Wrong Password")))
+ self.core.log.warning(_("Could not login with %(plugin)s account %(user)s | %(msg)s") % {"plugin": self.__name__, "user": user, "msg": _("Wrong Password")})
data["valid"] = False
except Exception, e:
- self.core.log.warning(_("Could not login with %s account %s | %s") % (self.__name__, user, e))
+ self.core.log.warning(_("Could not login with %(plugin)s account %(user)s | %(msg)s") % {"plugin" :self.__name__, "user": user, "msg": e})
data["valid"] = False
if self.core.debug:
print_exc()