diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-04-14 21:43:42 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-04-14 21:43:42 (GMT) |
commit | ae255c15051600f5e0a530dd3efc20fa95592bf2 (patch) | |
tree | cc66b588ce5d69fb0eb7ec4d597502e214fa68b8 /Speak.activity/voice.py | |
parent | bd85ec3ace7b300c65a4eb3e5bcfafcf0aea4a3e (diff) |
Apply HablarConSara-3.xo changessara
Diffstat (limited to 'Speak.activity/voice.py')
-rw-r--r-- | Speak.activity/voice.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Speak.activity/voice.py b/Speak.activity/voice.py index a3bb1c6..fda72dc 100644 --- a/Speak.activity/voice.py +++ b/Speak.activity/voice.py @@ -101,10 +101,10 @@ def defaultVoice(): def fit(a,b): "Compare two language ids to see if they are similar." - as = re.split(r'[^a-z]+', a.lower()) + as_ = re.split(r'[^a-z]+', a.lower()) bs = re.split(r'[^a-z]+', b.lower()) - for count in range(0, min(len(as),len(bs))): - if as[count] != bs[count]: + for count in range(0, min(len(as_),len(bs))): + if as_[count] != bs[count]: count -= 1 break return count |