From c3e86be6a325236cf734581d7d7af548c8386a60 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 7 Jul 2019 02:26:46 -0400 Subject: [PATCH] Disable debugging of API --- client-api/pvc-api.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client-api/pvc-api.py b/client-api/pvc-api.py index bde07c95..991a612c 100755 --- a/client-api/pvc-api.py +++ b/client-api/pvc-api.py @@ -967,7 +967,4 @@ else: # Run the ?WSGI server without SSL http_server = gevent.pywsgi.WSGIServer((config['listen_address'], config['listen_port']), api) -if os.environ['PVC_DEBUG']: - api.run(host=config['listen_address'], port=config['listen_port']) -else: - http_server.serve_forever() +http_server.serve_forever()