summaryrefslogtreecommitdiff
path: root/app/views/categories.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/views/categories.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/categories.py b/app/views/categories.py
index ca9b828..47379ba 100644
--- a/app/views/categories.py
+++ b/app/views/categories.py
@@ -20,7 +20,7 @@ def manage():
return { 'cats' : categories }
else:
- for id, name in request.form.iteritems():
+ for id, name in request.form.items():
if id.startswith('n-'):
db.session.add(Category(name = name, user = current_user))
else: