diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-14 15:17:07 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-14 15:17:07 +0100 |
commit | 1ecd9254b361d4e026e7a25f1b47382d1015e63c (patch) | |
tree | 183e5215126435b5b9bc986d86e616bafccb1645 /module/remote/XMLRPCBackend.py | |
parent | some parts of cli working again (diff) | |
download | pyload-1ecd9254b361d4e026e7a25f1b47382d1015e63c.tar.xz |
default thrift backend
Diffstat (limited to 'module/remote/XMLRPCBackend.py')
-rw-r--r-- | module/remote/XMLRPCBackend.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/remote/XMLRPCBackend.py b/module/remote/XMLRPCBackend.py index 08803df23..50b37f17b 100644 --- a/module/remote/XMLRPCBackend.py +++ b/module/remote/XMLRPCBackend.py @@ -21,8 +21,8 @@ import module.lib.SecureXMLRPCServer as Server from module.remote.RemoteManager import BackendBase class XMLRPCBackend(BackendBase): - def setup(self): - server_addr = (self.core.config['remote']['listenaddr'], int(self.core.config['remote']['port'])) + def setup(self, host, port): + server_addr = (host, port) if self.core.config['ssl']['activated']: if exists(self.core.config['ssl']['cert']) and exists(self.core.config['ssl']['key']): self.core.log.info(_("Using SSL XMLRPCBackend")) |