2004-02-20 Gernot Hillier <gernot@hillier.de>

* scripts/cs_helpers.pyin: fixed typo


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@233 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
gernot 2004-02-20 12:45:53 +00:00
parent 7afe826bdc
commit e408f52ccc
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2004-02-20 Gernot Hillier <gernot@hillier.de>
* scripts/cs_helpers.pyin: fixed typo
2004-02-17 Gernot Hillier <gernot@hillier.de>
* docs/manual-de.docbook: fixed some syntax errors

View File

@ -2,7 +2,7 @@
# -----------------------------------------------------------
# copyright : (C) 2002 by Gernot Hillier
# email : gernot@hillier.de
# version : $Revision: 1.19 $
# version : $Revision: 1.20 $
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -305,7 +305,7 @@ def sayNumber(call,number,curr_user,config,gender="-"):
if (number=="-" or number=="??"): # "??" is needed for backward compatibility to versions <= 0.4.1a
capisuite.audio_send(call,getAudio(config,curr_user,"unbekannt.la"),1)
elif (gender!="-" and number in ("1","01")):
if (gender in ("n","m"):
if (gender in ("n","m")):
capisuite.audio_send(call,getAudio(config,curr_user,"ein.la"),1)
else:
capisuite.audio_send(call,getAudio(config,curr_user,"eine.la"),1)