From 03f7ad65aadb20145ce35b72f9e7f6110e76c4aa Mon Sep 17 00:00:00 2001 From: Victoria Earl Date: Thu, 12 Dec 2024 21:38:23 -0500 Subject: [PATCH] Fix missing file error in Guidebook export --- uber/models/guests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uber/models/guests.py b/uber/models/guests.py index cade4f65e..00f2f3ffb 100644 --- a/uber/models/guests.py +++ b/uber/models/guests.py @@ -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) + '_'