Add support for email field in base fields.
This commit is contained in:
parent
eaffe88421
commit
984c27e6c1
@ -130,7 +130,7 @@ class OnepifEntry():
|
|||||||
continue
|
continue
|
||||||
propname = f["designation"]
|
propname = f["designation"]
|
||||||
propval = f["value"]
|
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"]))
|
raise Exception("Unknown field type discovered: {}".format(f["type"]))
|
||||||
self.add_with_unique_key(target_dict, propname, propval)
|
self.add_with_unique_key(target_dict, propname, propval)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user