summaryrefslogtreecommitdiffstats
path: root/module/remote/RemoteManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-05 20:13:16 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-05 20:13:16 +0200
commit2dcf398b41b198823f058182b4460f83ca217aee (patch)
treecf3cd416f612757bc7b953e77999423b37744f86 /module/remote/RemoteManager.py
parentapi account fix (diff)
downloadpyload-2dcf398b41b198823f058182b4460f83ca217aee.tar.xz
fixes, closed #361
Diffstat (limited to 'module/remote/RemoteManager.py')
-rw-r--r--module/remote/RemoteManager.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/module/remote/RemoteManager.py b/module/remote/RemoteManager.py
index 41c954419..792eaec4d 100644
--- a/module/remote/RemoteManager.py
+++ b/module/remote/RemoteManager.py
@@ -30,8 +30,8 @@ class BackendBase(Thread):
def run(self):
try:
self.serve()
- except:
- self.core.log.error(_("%s: Remote backend error") % self.__class__.__name__)
+ except Exception, e:
+ self.core.log.error(_("Remote backend error: %s") % e)
if self.core.debug:
print_exc()
@@ -59,9 +59,6 @@ class RemoteManager():
host = self.core.config["remote"]["listenaddr"]
port = self.core.config["remote"]["port"]
- if self.core.config["remote"]["xmlrpc"]:
- self.available.append("XMLRPCBackend")
-
for b in self.available:
klass = getattr(__import__("module.remote.%s" % b, globals(), locals(), [b] , -1), b)
backend = klass(self)