From bf592c7e6de2d774ab6ac129e66e62f9b40b06da Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 15 Feb 2011 04:13:18 +0100 Subject: fix --- controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controller.py') diff --git a/controller.py b/controller.py index 1ac5132..e63f22f 100644 --- a/controller.py +++ b/controller.py @@ -228,7 +228,7 @@ class ConstAdd: class ConstEdit (ConstAdd): template = "constedit" - def GET(self, id, fromId): + def GET(self, id, fromId = None): if id == "from": fromC = ConstExpense.get(fromId) -- cgit v1.2.3-54-g00ecf