call beep command instead of print '\a' <- doesn't work. fixes #909

This commit is contained in:
Yann Leboulanger 2007-06-27 10:20:24 +00:00
parent 6099e3eb43
commit 967d050db2
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ def play_sound(event):
def play_sound_file(path_to_soundfile):
if path_to_soundfile == 'beep':
print '\a' # make a speaker beep
exec_command('beep')
return
if path_to_soundfile is None or not os.path.exists(path_to_soundfile):
return