Commit 58b4c940 authored by Joel Martin's avatar Joel Martin

wsproxy: Fix --key parameter use.

parent c1d008f1
...@@ -168,7 +168,7 @@ if __name__ == '__main__': ...@@ -168,7 +168,7 @@ if __name__ == '__main__':
settings['listen_port'] = port settings['listen_port'] = port
settings['handler'] = proxy_handler settings['handler'] = proxy_handler
settings['cert'] = os.path.abspath(options.cert) settings['cert'] = os.path.abspath(options.cert)
if settings['key']: if options.key:
settings['key'] = os.path.abspath(options.key) settings['key'] = os.path.abspath(options.key)
settings['ssl_only'] = options.ssl_only settings['ssl_only'] = options.ssl_only
settings['daemon'] = options.daemon settings['daemon'] = options.daemon
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment