Walter Mantovani commited on
Commit
e782cf4
·
1 Parent(s): 4cfdcd5
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -110,8 +110,9 @@ def logout():
110
  flash('Logout effettuato con successo!')
111
  return redirect(url_for('home'))
112
 
 
 
113
 
114
  if __name__ == '__main__':
115
- with app.app_context():
116
- db.create_all()
117
  app.run(host="0.0.0.0", port=7860)
 
110
  flash('Logout effettuato con successo!')
111
  return redirect(url_for('home'))
112
 
113
+ with app.app_context():
114
+ db.create_all()
115
 
116
  if __name__ == '__main__':
117
+
 
118
  app.run(host="0.0.0.0", port=7860)