From e265327e113b1295960b07f7e4092c525ccfa806 Mon Sep 17 00:00:00 2001 From: "martin@piware.de" <> Date: Mon, 22 Dec 2008 12:58:38 +0100 Subject: [PATCH] vcard2gnokii: fix type for new evo format --- vcard2gnokii | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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': -- 2.39.5