summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilesonicCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-28 17:06:55 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-28 17:06:55 +0200
commit3fe887026d035422a01a8bf5c76686370ed58dd5 (patch)
tree6db7e571acfc2241d128b4aa81dd5f5081cb38b6 /module/plugins/accounts/FilesonicCom.py
parentchange password in webif (diff)
downloadpyload-3fe887026d035422a01a8bf5c76686370ed58dd5.tar.xz
fix dlc, new cli functions, new locale
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__))