diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-30 13:25:57 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-30 13:25:57 +0100 |
commit | af6ba51820a51b4185c855de12ec33a713ecd18a (patch) | |
tree | 94081be0c39e2f0c14d54a82449afa951c6343d8 /module/remote/XMLRPCBackend.py | |
parent | linksave and ncrypt working with captchas (diff) | |
download | pyload-af6ba51820a51b4185c855de12ec33a713ecd18a.tar.xz |
fixed ssl xmlrpc 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 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: |