Update src/pilgrim/models/entry.py

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Gustavo Henrique Miranda 2025-07-24 23:18:34 -03:00 committed by GitHub
parent 3db39eac71
commit 8d45b4361e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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