summaryrefslogtreecommitdiffstats
path: root/module/remote/XMLRPCBackend.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/XMLRPCBackend.py')
-rw-r--r--module/remote/XMLRPCBackend.py4
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"))