From: martin@piware.de <> Date: Mon, 22 Dec 2008 12:10:45 +0000 (+0100) Subject: vcard2gnokii: field type postal does not currently work, use note X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=commitdiff_plain;h=ad699ca50a2efb5543be215d52b7ec5ee56309e3 vcard2gnokii: field type postal does not currently work, use note --- diff --git a/vcard2gnokii b/vcard2gnokii index 7928cb9..034f99d 100755 --- a/vcard2gnokii +++ b/vcard2gnokii @@ -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':