Fix ident
This commit is contained in:
parent
52fd855b61
commit
2e8319c963
2 changed files with 6 additions and 6 deletions
|
@ -179,9 +179,9 @@ def play_msg(msg, read=False, max_digits=False):
|
||||||
# Playback message
|
# Playback message
|
||||||
logging.debug('Play file %s' % filepath)
|
logging.debug('Play file %s' % filepath)
|
||||||
result = playback(asterisk_agi, filepath, simulate_play=options.simulate_play,
|
result = playback(asterisk_agi, filepath, simulate_play=options.simulate_play,
|
||||||
intkey=options.intkey, read=read,
|
intkey=options.intkey, read=read,
|
||||||
read_timeout=options.read_timeout,
|
read_timeout=options.read_timeout,
|
||||||
read_maxdigits=max_digits)
|
read_maxdigits=max_digits)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
|
@ -357,9 +357,9 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
# Playback message
|
# Playback message
|
||||||
result = playback(a, filepath, simulate_play=options.simulate_play,
|
result = playback(a, filepath, simulate_play=options.simulate_play,
|
||||||
intkey=options.intkey, read=options.read,
|
intkey=options.intkey, read=options.read,
|
||||||
read_timeout=options.read_timeout,
|
read_timeout=options.read_timeout,
|
||||||
read_maxdigits=options.read_maxdigits)
|
read_maxdigits=options.read_maxdigits)
|
||||||
|
|
||||||
logging.debug('User enter : "%s"' % result)
|
logging.debug('User enter : "%s"' % result)
|
||||||
if options.simulate:
|
if options.simulate:
|
||||||
|
|
Loading…
Reference in a new issue