Skip to content

Commit 03f7ad6

Browse files
committed
Fix missing file error in Guidebook export
1 parent 5adee34 commit 03f7ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uber/models/guests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def guidebook_data(self):
223223

224224
@property
225225
def guidebook_images(self):
226-
if not self.bio:
226+
if not self.bio or not self.bio.pic_filename:
227227
return ['', ''], ['', '']
228228

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

0 commit comments

Comments
 (0)