diff options
author | jerico.dev <jerico.dev@gmail.com> | 2011-06-20 23:58:29 -0300 |
---|---|---|
committer | Riccardo (C10uD) <c10ud.dev@gmail.com> | 2011-09-01 12:04:24 +0200 |
commit | dfb666aa7ff6f982a5785861e338b290fe170422 (patch) | |
tree | 8db028867cf38bb7fbc8bd8b07c06f9eecd28857 | |
parent | f33af27860a731a421dfc8efa26e0970ca76ae66 (diff) |
web sites were not correctly added
-rw-r--r-- | papyon/service/description/AB/ABContactAdd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/papyon/service/description/AB/ABContactAdd.py b/papyon/service/description/AB/ABContactAdd.py index 218472c..6432932 100644 --- a/papyon/service/description/AB/ABContactAdd.py +++ b/papyon/service/description/AB/ABContactAdd.py @@ -123,10 +123,10 @@ def soap_body(passport_name, is_messenger_user, contact_type, first_name, if web_site is not None: web_sites = "" for type, url in web_site.iteritems(): - websites += """<ContactWebSite> - <contactWebSiteType>%s</contactWebSiteType> - <webURL>%s</webURL> - </ContactWebSite>""" % (type, xml.escape(url)) + web_sites += """<ContactWebSite> + <contactWebSiteType>%s</contactWebSiteType> + <webURL>%s</webURL> + </ContactWebSite>""" % (type, xml.escape(url)) contact_info += "<webSites>%s</webSites>" % web_sites if annotation is not None: |