aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/gui/app/glue.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/rpki/gui/app/glue.py')
-rw-r--r--rpkid/rpki/gui/app/glue.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpkid/rpki/gui/app/glue.py b/rpkid/rpki/gui/app/glue.py
index 8edc6b04..6d168b26 100644
--- a/rpkid/rpki/gui/app/glue.py
+++ b/rpkid/rpki/gui/app/glue.py
@@ -149,6 +149,7 @@ def get_email_list(conf):
if len(notify_emails) == 0:
# fall back to the email address registered for this user
user = User.objects.get(username=conf.handle)
- notify_emails.append(user.email)
+ if user.email:
+ notify_emails.append(user.email)
return notify_emails