aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/collect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/collect.py b/wqflask/wqflask/collect.py
index fedf6dfc..5484633b 100644
--- a/wqflask/wqflask/collect.py
+++ b/wqflask/wqflask/collect.py
@@ -369,6 +369,7 @@ def delete_collection():
# But might want to check ownership in the future
collection_name = uc.name
db_session.delete(uc)
+ db_session.commit()
else:
collection_name = params['collection_name']
user_manager.AnonUser().delete_collection(collection_name)
@@ -378,7 +379,6 @@ def delete_collection():
return redirect(url_for('list_collections'))
-
@app.route("/collections/view")
def view_collection():
params = request.args