about summary refs log tree commit diff
path: root/wqflask/wqflask/collect.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/wqflask/collect.py')
-rw-r--r--wqflask/wqflask/collect.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/wqflask/wqflask/collect.py b/wqflask/wqflask/collect.py
index 6a1b88ca..61f73106 100644
--- a/wqflask/wqflask/collect.py
+++ b/wqflask/wqflask/collect.py
@@ -40,6 +40,7 @@ def process_traits(unprocessed_traits):
 
     return traits
 
+
 def report_change(len_before, len_now):
     new_length = len_now - len_before
     if new_length:
@@ -48,6 +49,7 @@ def report_change(len_before, len_now):
     else:
         logger.debug("No new traits were added.")
 
+
 @app.route("/collections/store_trait_list", methods=('POST',))
 def store_traits_list():
    params = request.form
@@ -59,6 +61,7 @@ def store_traits_list():
 
    return hash
 
+
 @app.route("/collections/add")
 def collections_add():
 
@@ -82,6 +85,7 @@ def collections_add():
                                 collections=collections,
                               )
 
+
 @app.route("/collections/new")
 def collections_new():
     params = request.args
@@ -118,6 +122,7 @@ def collections_new():
         # CauseAnError
         pass
 
+
 def create_new(collection_name):
     params = request.args
 
@@ -133,6 +138,7 @@ def create_new(collection_name):
 
     return redirect(url_for('view_collection', uc_id=uc_id))
 
+
 @app.route("/collections/list")
 def list_collections():
     params = request.args
@@ -143,6 +149,7 @@ def list_collections():
                             collections=user_collections,
                             )
 
+
 @app.route("/collections/remove", methods=('POST',))
 def remove_traits():
     params = request.form
@@ -216,6 +223,7 @@ def view_collection():
                            **collection_info
                            )
 
+
 @app.route("/collections/change_name", methods=('POST',))
 def change_collection_name():
     params = request.form