mirror of
https://github.com/moparisthebest/HttpUploadComponent
synced 2024-12-22 07:28:51 -05:00
bugfix
This commit is contained in:
parent
ceaa132978
commit
8c5cca8a0a
@ -301,7 +301,7 @@ if __name__ == "__main__":
|
|||||||
kill_event.set()
|
kill_event.set()
|
||||||
sys.exit(1)
|
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'])
|
server.socket = ssl.wrap_socket(server.socket, keyfile=config['http_keyfile'], certfile=config['http_certfile'])
|
||||||
jid = config['component_jid']
|
jid = config['component_jid']
|
||||||
secret = config['component_secret']
|
secret = config['component_secret']
|
||||||
|
Loading…
Reference in New Issue
Block a user