Skip to content

Commit

Permalink
Fix missing file error in Guidebook export
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsuta committed Dec 13, 2024
1 parent 5adee34 commit 03f7ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uber/models/guests.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def guidebook_data(self):

@property
def guidebook_images(self):
if not self.bio:
if not self.bio or not self.bio.pic_filename:
return ['', ''], ['', '']

prepend = sluggify(self.group.name) + '_'
Expand Down

0 comments on commit 03f7ad6

Please sign in to comment.