From 57b3cebe0a144f4d5357b345165125cf07f311a5 Mon Sep 17 00:00:00 2001 From: Illia Chub Date: Tue, 5 Jan 2021 13:31:22 +0200 Subject: [PATCH] Added debug entry --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 2708d7d..4fb1e42 100644 --- a/main.py +++ b/main.py @@ -20,7 +20,8 @@ def getDkimKey(): catProcess = subprocess.Popen(["cat", "/var/dkim/" + domain + ".selector.txt"], stdout=subprocess.PIPE) dkim = catProcess.communicate()[0] dkim = base64.b64encode(dkim) - return jsonify(dkim) + print(dkim) + return "1" #jsonify(dkim) @app.route("/pythonVersion", methods=["GET"]) def getPythonVersion(): pythonVersion = subprocess.check_output(["python","--version"])