View Single Post
Posts: 7 | Thanked: 5 times | Joined on Mar 2010
#34
Originally Posted by Arto View Post
If this is the cause for "eSpeakCaller says the phonenumber in thousands"-bug then this can be easily fixed
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.
 

The Following User Says Thank You to thnninen For This Useful Post: