mirror of https://github.com/gmbrax/Pilgrim.git
Update src/pilgrim/models/entry.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
3db39eac71
commit
8d45b4361e
|
|
@ -28,6 +28,6 @@ class Entry(Base):
|
|||
self.text = text
|
||||
self.date = date
|
||||
self.fk_travel_diary_id = travel_diary_id
|
||||
if photos:
|
||||
if photos is not None:
|
||||
self.photos = photos
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue