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 e0c6d98b01
commit 77b3e8d241

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