[Vobject] newbie question - further info

Jeff Edwards jeffedwa at gmail.com
Thu Jan 26 05:49:03 CST 2012


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'

Testing the values assigned, they are correct, but in the result the second email or phone is just empty

I hope someone can enlighten me how to have multiple entries for a tag.

Thank you

Jeff


Result:

VCARD
    ADR: 32 Sunny Waters Rd
Kincumber,  2251
Australia
    BDAY: 1961-10-21
    N:  Jeff G. Smith 
    VERSION: 3.0
    TEL: 02 4332 0348
    params for  TEL:
       HOME ['HOME']
    TEL: 
    NICKNAME: Eddie
    EMAIL: jeffsmith at mac.com
    params for  EMAIL:
       TYPE ['INTERNET']
    EMAIL: 
    FN: Jeff Smith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.skyhouseconsulting.com/pipermail/vobject/attachments/20120126/2f29bfd7/attachment.htm>


More information about the VObject mailing list