diff --git a/server.py b/server.py index 26e116c..611752e 100755 --- a/server.py +++ b/server.py @@ -313,7 +313,7 @@ def create_app(): elif os.path.isdir(app.config["JSON_CONFIG_DIR"]): for fname in os.listdir(app.config["JSON_CONFIG_DIR"]): fullpath = os.path.join(app.config["JSON_CONFIG_DIR"], fname) - if fname.endswith(".json"): + if fname.endswith(".json") and not fname == "config.json": with open(fullpath) as f: config |= json.load(f)