We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8b930 commit 6779402Copy full SHA for 6779402
app.py
@@ -709,6 +709,6 @@ def init_db() -> None: # initialize database
709
db.session.commit() # commit database changes
710
711
712
-if __name__ == "__main__":
+if __name__ == "__main__" or __name__ == "app":
713
init_db() # initialize database
714
app.run(debug=True, port=8081) # run the server at port 8081
0 commit comments