View Single Post
titilambert's Avatar
Posts: 98 | Thanked: 147 times | Joined on Mar 2010
#51
Originally Posted by darodi View Post
using the buton 'add friend' from the title bar.

some contacts have this format:

'UID:195\r', 'TEL;TYPE=CELL;TYPE=WORK:+32477000000\r', 'X-SIP:203\r', 'X-MSN;X-OSSO-VALID=yes;TYPE="msn-pecan":msn blabla 'FN:name'

TEL is before FN
CELL is before work
Code:
numbers = re.findall("TEL;TYPE=.*?CELL.*?:(.[0-9]*)\r\n", contact)
fixes the problem
Thanks !

Fixed in 1.6.3 when the build is finished