[Vobject] newbie question - further info
Adam Tauno Williams
awilliam at whitemice.org
Thu Jan 26 06:36:33 CST 2012
On Thu, 2012-01-26 at 22:49 +1100, Jeff Edwards wrote:
> The problem I have is that the second email or phone shows as empty
> when pretty printed
> for k,v in data.items():
> self.j.add('email')
> self.j.email.value = v
> self.j.email.type_param = 'INTERNET'
try -
for k,v in data.items():
tmp = self.j.add('email')
tmp.value = v
tmp.type_param = 'INTERNET'
--
Adam Tauno Williams <http://www.whitemiceconsulting.com>
System Administrator, OpenGroupware Developer, LPI / CNA
Fingerprint 8C08 209A FBE3 C41A DD2F A270 2D17 8FA4 D95E D383
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.skyhouseconsulting.com/pipermail/vobject/attachments/20120126/575c94dd/attachment.pgp>
More information about the VObject
mailing list