This commit is contained in:
Daniel Gultsch 2015-07-29 01:02:24 +02:00
parent ceaa132978
commit 8c5cca8a0a
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ if __name__ == "__main__":
kill_event.set()
sys.exit(1)
if 'keyfile' in config and 'certfile' in config:
if 'http_keyfile' in config and 'http_certfile' in config:
server.socket = ssl.wrap_socket(server.socket, keyfile=config['http_keyfile'], certfile=config['http_certfile'])
jid = config['component_jid']
secret = config['component_secret']