diff --git a/main.py b/main.py index 7b39e36..0f177e4 100644 --- a/main.py +++ b/main.py @@ -15,6 +15,7 @@ def uname(): def getDkimKey(): with open("/var/domain") as domainFile: domain = domainFile.readline() + domain = domain.rstrip("\n") dkim = subprocess.check_output(["cat", "/var/dkim/" + domain + ".selector.txt"]) return jsonify(dkim) @app.route("/pythonVersion", methods=["GET"])