From f827738cae3fae577d0ea8cb079b0569db384d0a Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 18 Feb 2013 13:49:49 +0100 Subject: BUG: Categories were not added --- controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.py b/controller.py index f0e7e4c..470bf1f 100644 --- a/controller.py +++ b/controller.py @@ -314,7 +314,7 @@ class Cat: def POST(self): for id, name in web.input().iteritems(): if id.startswith("n-"): - Category(name = name) + web.ctx.orm.add(Category(name = name)) else: Category.get(id).name = name -- cgit v1.2.3-70-g09d2