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

got rid of if_name in app.py

parent 52d6cbdc
No related branches found
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