wsproxy: Fix --key parameter use.

This commit is contained in:
Joel Martin 2010-11-06 14:12:37 -05:00
parent c1d008f1ee
commit 58b4c9408f
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ if __name__ == '__main__':
settings['listen_port'] = port
settings['handler'] = proxy_handler
settings['cert'] = os.path.abspath(options.cert)
if settings['key']:
if options.key:
settings['key'] = os.path.abspath(options.key)
settings['ssl_only'] = options.ssl_only
settings['daemon'] = options.daemon