diff --git a/src/server/BreCal/local_db.py b/src/server/BreCal/local_db.py index 1619ff3..85dff68 100644 --- a/src/server/BreCal/local_db.py +++ b/src/server/BreCal/local_db.py @@ -3,6 +3,7 @@ import pydapper import logging import json import os +import sys config_path = None @@ -17,7 +18,7 @@ def initPool(instancePath): if not os.path.exists(config_path): print ('cannot find ' + config_path) print("instance path", instancePath) - exit(1) + sys.exit(1) f = open(config_path); connection_data = json.load(f)