[Vobject] How do you add multiple "type_param"

Adam Tauno Williams awilliam at opengroupware.us
Tue Oct 25 10:35:13 CDT 2016


On Tue, 2016-10-25 at 16:52 +0300, Tames McTigue wrote:
> I'm trying to create a card where the email address has this type of
> format:
> EMAIL;type=INTERNET;type=WORK;type=pref:johnDoe at example.org
> I see how to add a type from the example, such as "INTERNET", but not
> how to add three types. I tried using a list but that doesn't work, 
> it just puts a comma between each value.

Try email.type_paramlist = [kind1, kind2, kind3, ]

-- 
Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
OpenGroupware Developer <http://www.opengroupware.us/>




More information about the VObject mailing list