Fix call to config dictionary from pvc_api
This commit is contained in:
parent
57768f2583
commit
31a117e21c
|
@ -29,7 +29,7 @@ if pvc_api.config['debug']:
|
||||||
# Run in Flask standard mode
|
# Run in Flask standard mode
|
||||||
pvc_api.app.run(pvc_api.config['listen_address'], pvc_api.config['listen_port'])
|
pvc_api.app.run(pvc_api.config['listen_address'], pvc_api.config['listen_port'])
|
||||||
else:
|
else:
|
||||||
if config['ssl_enabled']:
|
if pvc_api.config['ssl_enabled']:
|
||||||
# Run the WSGI server with SSL
|
# Run the WSGI server with SSL
|
||||||
http_server = gevent.pywsgi.WSGIServer(
|
http_server = gevent.pywsgi.WSGIServer(
|
||||||
(pvc_api.config['listen_address'], pvc_api.config['listen_port']),
|
(pvc_api.config['listen_address'], pvc_api.config['listen_port']),
|
||||||
|
|
Loading…
Reference in New Issue