csv_metadata_quality_web/main.py: Remove check for __main__
All checks were successful
continuous-integration/drone/push Build is passing

This is only needed if we are running directly in Python.
This commit is contained in:
Alan Orth 2021-03-14 22:05:04 +02:00
parent 78f58b459c
commit 2fcfc76ea5
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -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)