From: martin@piware.de <> Date: Mon, 22 Dec 2008 11:58:38 +0000 (+0100) Subject: vcard2gnokii: fix type for new evo format X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=commitdiff_plain;h=e265327e113b1295960b07f7e4092c525ccfa806 vcard2gnokii: fix type for new evo format --- 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':