Add support for email field in base fields.

This commit is contained in:
Markus Birth 2021-08-22 21:46:19 +02:00
parent eaffe88421
commit 984c27e6c1
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

View File

@ -130,7 +130,7 @@ class OnepifEntry():
continue
propname = f["designation"]
propval = f["value"]
if f["type"] not in ["T", "P"]:
if f["type"] not in ["T", "P", "E"]:
raise Exception("Unknown field type discovered: {}".format(f["type"]))
self.add_with_unique_key(target_dict, propname, propval)