diff options
Diffstat (limited to 'module')
-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 6a7f9f96e..d5f72034e 100644 --- a/module/remote/XMLRPCBackend.py +++ b/module/remote/XMLRPCBackend.py @@ -15,18 +15,18 @@ @author: mkaay, RaNaN """ +from os.path import exists import module.lib.SecureXMLRPCServer as Server from module.remote.RemoteManager import BackendBase -from traceback import print_exc - class XMLRPCBackend(BackendBase): def setup(self): server_addr = (self.core.config['remote']['listenaddr'], int(self.core.config['remote']['port'])) usermap = {self.core.config.username: self.core.config.password} 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")) self.server = Server.SecureXMLRPCServer(server_addr, self.core.config['ssl']['cert'], self.core.config['ssl']['key'], usermap) else: |