Commit afa41d0f authored by Guilhem Niot's avatar Guilhem Niot
Browse files

Remove removal of wait entries at startup

parent 0b7ef095
......@@ -19,14 +19,6 @@ def create_app():
app.register_blueprint(index.blueprint, url_prefix='/api')
app.register_blueprint(events.blueprint, url_prefix='/api/events')
app.register_blueprint(registrations.blueprint, url_prefix='/api/registrations')
try:
with app.app_context():
db.session.query(WaitEntry).delete()
except:
pass
app.register_blueprint(registrations.blueprint, url_prefix='/api/registrations')
return app
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment