Verified Commit 11504fcd authored by Peter Stanko's avatar Peter Stanko
Browse files

Adding note

parent 94ae257a
......@@ -875,10 +875,9 @@ class Submission(db.Model, EntityBase):
def make_change(self, change):
if self.note is None:
self.note = {}
if 'changes' in self.note:
if 'changes' not in self.note:
self.note['changes'] = []
def changes(self) -> List:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment