summaryrefslogtreecommitdiff
path: root/controller.py
diff options
context:
space:
mode:
Diffstat (limited to 'controller.py')
-rw-r--r--controller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.py b/controller.py
index 34d06d9..0980b54 100644
--- a/controller.py
+++ b/controller.py
@@ -247,7 +247,7 @@ class ConstEdit (ConstAdd):
fromC = ConstExpense.get(fromId)
exp = ConstExpense()
- exp.from_dict(fromC.to_dict(exclude=["id", "prev"]))
+ exp.from_dict(fromC.to_dict(exclude=["id", "prev", "next"]))
exp.prev = fromC
session.commit()
else: