diff options
author | zsloan | 2016-07-29 22:05:10 +0000 |
---|---|---|
committer | zsloan | 2016-07-29 22:05:10 +0000 |
commit | c33d090f2067c19ea1229dad1e6b45cdb57c0612 (patch) | |
tree | e5a3261b853715b9b194111da986551fedf9e25f | |
parent | 9def9f91d00a628107af06a8ff7783722bda777a (diff) | |
download | genenetwork2-c33d090f2067c19ea1229dad1e6b45cdb57c0612.tar.gz |
Fixed issue where you couldn't delete collections when logged in
-rw-r--r-- | wqflask/wqflask/collect.py | 2 |
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 |