View Single Post
Posts: 48 | Thanked: 5 times | Joined on Mar 2010
#41
Originally Posted by thnninen View Post
Probably isn't, but it's a fix for the "eSpeakCaller says the number even if the name is defined" - bug.

btw,

I already tried to replace the lines:

if line.startswith("TEL"):
nr = line.split(":")[1]
if nr != None:
if nr == number:
return fname


with:

if line.startswith("TEL"):
nr = line.split(":")[1]
my_num = number.lstrip('0')
if nr != None:
if nr.endswith(my_num)
return fname

that seems to correct the "040" vs +35840 problem for me at least.
Hi !

Can you help me please, which file you had been edited exactly, and what should be in my case, where all numbers in my contacts are e.g. : + 1 (310) 6545621 please ?

Many many many thanks in advance,

Andrew