Commit 03d6fb0e authored by Sriram Karra's avatar Sriram Karra

Merge pull request #92 from benalbrecht/master

Ensure em_types is not None before iterating over it
parents 39a684c9 0a8f867c
......@@ -297,9 +297,9 @@ class CDContact(Contact):
# ## We will do something here to save the label as well.
# self.add_email_other(em.value)
em_types = [x.lower() for x in em_types]
if em_types:
em_types = [x.lower() for x in em_types]
if 'pref' in em_types:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment