X-Git-Url: https://piware.de/gitweb/?a=blobdiff_plain;f=vcard2gnokii;h=7928cb9ad760a766491f3eee2e29dd824af64095;hb=e265327e113b1295960b07f7e4092c525ccfa806;hp=e585488f82b3aac9d65a36b163e23b228233a2d7;hpb=c6d59c5e4ea9ae44664ace79ecdb5ab8873baf30;p=bin.git diff --git a/vcard2gnokii b/vcard2gnokii index e585488..7928cb9 100755 --- a/vcard2gnokii +++ b/vcard2gnokii @@ -20,11 +20,11 @@ def output_info(info): kf = k.split(';') type = 0 if len(kf) > 1: - if kf[1] == 'TYPE=HOME': + if kf[1].startswith('TYPE=HOME'): type = 2 - elif kf[1] == 'TYPE=CELL': + elif kf[1].startswith('TYPE=CELL'): type = 3 - elif kf[1] == 'TYPE=WORK': + elif kf[1].startswith('TYPE=WORK'): type = 6 if kf[0] == 'ADR':