Walter Mantovani commited on
Commit
0629b7c
·
1 Parent(s): 6592dc3
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -192,9 +192,9 @@ def logout():
192
  session.pop('user_id', None)
193
  return redirect(url_for('login'))
194
 
 
 
195
 
196
  if __name__ == '__main__':
197
- with app.app_context():
198
- init_db()
199
  app.run(host="0.0.0.0", port=7860)
200
 
 
192
  session.pop('user_id', None)
193
  return redirect(url_for('login'))
194
 
195
+ with app.app_context():
196
+ init_db()
197
 
198
  if __name__ == '__main__':
 
 
199
  app.run(host="0.0.0.0", port=7860)
200