]> piware.de Git - bin.git/blobdiff - vcard2gnokii
vcard2gnokii: field type postal does not currently work, use note
[bin.git] / vcard2gnokii
index 7928cb9ad760a766491f3eee2e29dd824af64095..034f99d241e1e2e9a06940d5fddc2373c3293944 100755 (executable)
@@ -28,7 +28,8 @@ def output_info(info):
                type = 6
 
        if kf[0] == 'ADR':
-           result += ';9;%i;%i;%s' % (type, id, '\\n'.join([f for f in v.split(';') if f]))
+            # current gnokii does not swallow type "9" (postal address)
+           result += ';10;0;%i;%s' % (id, '\\n'.join([f for f in v.split(';') if f]))
        elif kf[0] == 'EMAIL':
            result += ';8;%i;%i;%s' % (type, id, v)
        elif kf[0] == 'TEL':