Skip to content
Snippets Groups Projects
Commit 5b8d435c authored by Felix Chadwick-Smith's avatar Felix Chadwick-Smith
Browse files

Merge branch 'master' into 'main'

got rid of if_name in app.py

See merge request !8
parents 30938894 a5520b4b
Branches DTFrontEnd
No related tags found
1 merge request!8got rid of if_name in app.py
No preview for this file type
No preview for this file type
......@@ -86,5 +86,3 @@ def download_assessment(filename):
app.logger.exception(f"Error serving assessment file: {str(e)}")
abort(500)
if __name__ == '__main__':
app.run(debug=True, port=int(os.environ.get('PORT', 5000)))
\ No newline at end of file
import os
import sys
import logging
from app import app as application
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment