diff --git a/threshold.py b/threshold.py index 1c38729..0cf5c8d 100644 --- a/threshold.py +++ b/threshold.py @@ -63,11 +63,11 @@ def getconfig(): if set(["port", "bind", "usessl"]).issubset(set(config.keys())): if config["usessl"] == True: if not set(["cert", "key"]).issubset(set(config.keys())): - debug("SSL is on but certificate or key is not defined") + print("SSL is on but certificate or key is not defined") exit(1) return config else: - debug("Mandatory values missing from config") + print("Mandatory values missing from config") exit(1) if __name__ == "__main__":