From 2fcfc76ea570103c63937d05759d1e2c379088af Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 14 Mar 2021 22:05:04 +0200 Subject: [PATCH] csv_metadata_quality_web/main.py: Remove check for __main__ This is only needed if we are running directly in Python. --- csv_metadata_quality_web/main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/csv_metadata_quality_web/main.py b/csv_metadata_quality_web/main.py index f269ec4..91bfaa7 100644 --- a/csv_metadata_quality_web/main.py +++ b/csv_metadata_quality_web/main.py @@ -127,7 +127,3 @@ def result_download(base64slug): filename = secure_filename(os.path.splitext(filename)[0] + "-cleaned.csv") return send_from_directory(app.config["UPLOAD_PATH"], filename, as_attachment=True) - - -if __name__ == "__main__": - app.run(host="127.0.0.1", port=8080, debug=True)