remove unneeded query of all objects

This commit is contained in:
2020-12-05 19:23:46 +11:00
parent 92fd582981
commit a45528e5ae
5 changed files with 0 additions and 5 deletions

View File

@@ -53,7 +53,6 @@ def new_condition():
db.session.add(condition)
db.session.commit()
st.SetMessage( "Created new Condition (id={})".format(condition.id) )
conditions = Condition.query.order_by('id').all()
return redirect( '/conditions' )
################################################################################