]> piware.de Git - bin.git/commitdiff
vcard2gnokii: fix type for new evo format
authormartin@piware.de <>
Mon, 22 Dec 2008 11:58:38 +0000 (12:58 +0100)
committermartin@piware.de <>
Mon, 22 Dec 2008 11:58:38 +0000 (12:58 +0100)
vcard2gnokii

index e585488f82b3aac9d65a36b163e23b228233a2d7..7928cb9ad760a766491f3eee2e29dd824af64095 100755 (executable)
@@ -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':