Fix bin/NIC parsing for PCI ID lookup
[people/stefanha/gpxebot.git] / utils.py
index 4d8e733..2792685 100644 (file)
--- a/utils.py
+++ b/utils.py
@@ -17,7 +17,7 @@ def email_log(to_address, subject, logfile, aliases):
             email_addresses.append(a)
         elif a in aliases:
             email_addresses.append(aliases[a])
-        else:
+        elif a:
             unrecognized.append(a)
     if email_addresses:
         header = '''From: %(from_address)s