summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--controller.py2
1 files changed, 1 insertions, 1 deletions
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)