From 07975105217b619534358579d7fdea888f10cd64 Mon Sep 17 00:00:00 2001 From: "martin@piware.de" <> Date: Thu, 1 Jan 2009 13:47:23 +0100 Subject: [PATCH] vcard2gnokii: fix phone numbers --- vcard2gnokii | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vcard2gnokii b/vcard2gnokii index 4b7ef99..f3cef82 100755 --- a/vcard2gnokii +++ b/vcard2gnokii @@ -20,11 +20,11 @@ def output_info(info, pos): kf = k.split(';') type = 0 if len(kf) > 1: - if kf[1].startswith('TYPE=HOME'): + if 'TYPE=HOME' in k: type = 2 - elif kf[1].startswith('TYPE=CELL'): + elif 'TYPE=CELL' in k: type = 3 - elif kf[1].startswith('TYPE=WORK'): + elif 'TYPE=WORK' in k: type = 6 if kf[0] == 'ADR': -- 2.39.2