We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a04ee9 commit 511043eCopy full SHA for 511043e
websockets/controller.py
@@ -34,7 +34,6 @@ def load_plan_by_read_token(self, read_token):
34
plan = session.query(Plan).filter(Plan.read_token == read_token).one()
35
if plan is None:
36
raise Exception("Plan not found")
37
- session.expunge_all()
38
self.plan_id = plan.id
39
self.plan_token = plan.token
40
self.can_edit = False
@@ -48,7 +47,6 @@ def create_plan(self, name=''):
48
47
session.add(plan)
49
detachedPlan = plan.toJSON()
50
session.commit()
51
52
53
54
self.can_edit = True
0 commit comments