@@ -528,7 +528,7 @@ class GoogleContactURI(object):
id=property(lambdaself:self.uri)
def__init__(self,uri,type,default=False):
self.uri=uri
self.uri=uri.strip()ifuriisnotNoneelseuri
self.type=type
self.default=default
...
...
@@ -541,11 +541,11 @@ class GoogleContactURI(object):
@classmethod
deffrom_im(cls,address):
returncls(re.sub('^sips?:','',address['username']),address.get('formattedType','Other'),False)# for now do not let IM addresses become default URIs -Dan
returncls(re.sub('^sips?:','',address['value']),address.get('formattedType','Other'),False)# for now do not let email addresses become default URIs -Dan