Removed an excess property declaration in the populate_obj method of the JournalEntryForm form.

This commit is contained in:
依瑪貓 2023-06-09 05:45:50 +08:00
parent 9072de82d4
commit 64b9c8c11f

View File

@ -151,7 +151,6 @@ class JournalEntryForm(FlaskForm):
is_new: bool = obj.id is None is_new: bool = obj.id is None
if is_new: if is_new:
obj.id = new_id(JournalEntry) obj.id = new_id(JournalEntry)
self.date: DateField
self.__set_date(obj, self.date.data) self.__set_date(obj, self.date.data)
obj.note = self.note.data obj.note = self.note.data