summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilesonicCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FilesonicCom.py')
-rw-r--r--module/plugins/accounts/FilesonicCom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/accounts/FilesonicCom.py b/module/plugins/accounts/FilesonicCom.py
index 7ea7ea7cb..9f57809ad 100644
--- a/module/plugins/accounts/FilesonicCom.py
+++ b/module/plugins/accounts/FilesonicCom.py
@@ -22,10 +22,10 @@ from time import mktime, strptime
from module.plugins.Account import Account
-try:
- from json import loads as json_loads
-except ImportError: # pragma: no cover
- from module.lib.simplejson import loads as json_loads
+try:
+ from json import loads as json_loads
+except ImportError: # pragma: no cover
+ from module.lib.simplejson import loads as json_loads
class FilesonicCom(Account):
@@ -45,7 +45,7 @@ class FilesonicCom(Account):
post = {"u": user,
"p" : self.accounts[user]["password"]}
).decode("utf8")
- self.core.log.debug(_("%s: account status retrieved from api %s" % (self.__name__,xml)))
+ self.core.log.debug("%s: account status retrieved from api %s" % (self.__name__,xml))
json = json_loads(xml)
if json["FSApi_User"]["getInfo"]["status"] != "success":
self.core.log.error(_("%s: Invalid login retrieving user details" % self.__name__))