mirror of
https://github.com/ilri/csv-metadata-quality-web.git
synced 2024-11-29 18:08:23 +01:00
csv_metadata_quality_web/main.py: Remove check for __main__
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
78f58b459c
commit
2fcfc76ea5
@ -127,7 +127,3 @@ def result_download(base64slug):
|
|||||||
filename = secure_filename(os.path.splitext(filename)[0] + "-cleaned.csv")
|
filename = secure_filename(os.path.splitext(filename)[0] + "-cleaned.csv")
|
||||||
|
|
||||||
return send_from_directory(app.config["UPLOAD_PATH"], filename, as_attachment=True)
|
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)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user