diff options
Diffstat (limited to 'src/lib/Server/Component.py')
-rw-r--r-- | src/lib/Server/Component.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/Server/Component.py b/src/lib/Server/Component.py index f57dd7ccc..f3bd47d34 100644 --- a/src/lib/Server/Component.py +++ b/src/lib/Server/Component.py @@ -137,7 +137,10 @@ class Component(SSLServer, except: self.logger.error("Failed to load ssl key %s" % (keyfile), exc_info=1) raise ComponentInitError - SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self) + try: + SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self) + except TypeError: + SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self, False, None) self.logRequests = 0 self.port = self.socket.getsockname()[1] self.url = "https://%s:%s" % (socket.gethostname(), self.port) |