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