vcard2csv icon indicating copy to clipboard operation
vcard2csv copied to clipboard

failure on different types

Open herodan opened this issue 3 years ago • 1 comments

I run it and if fails on additional types not specified in the script:

params for TEL: TYPE ['OTHER', 'VOICE'] Traceback (most recent call last): File "./vcard2csv.py", line 156, in main() File "./vcard2csv.py", line 152, in main vcard_info = get_info_list(vcard_path) File "./vcard2csv.py", line 64, in get_info_list cell, home, work = get_phone_numbers(vCard) File "./vcard2csv.py", line 35, in get_phone_numbers if 'CELL' in tel.params['TYPE']: KeyError: 'TYPE

herodan avatar Sep 09 '20 01:09 herodan