diff --git a/api-daemon/pvcapid/Daemon.py b/api-daemon/pvcapid/Daemon.py index c17ac2b9..42f416fb 100755 --- a/api-daemon/pvcapid/Daemon.py +++ b/api-daemon/pvcapid/Daemon.py @@ -29,7 +29,7 @@ if pvc_api.config['debug']: # Run in Flask standard mode pvc_api.app.run(pvc_api.config['listen_address'], pvc_api.config['listen_port']) else: - if config['ssl_enabled']: + if pvc_api.config['ssl_enabled']: # Run the WSGI server with SSL http_server = gevent.pywsgi.WSGIServer( (pvc_api.config['listen_address'], pvc_api.config['listen_port']),