call beep command instead of print '\a' <- doesn't work. fixes #909
This commit is contained in:
parent
6099e3eb43
commit
967d050db2
|
@ -464,7 +464,7 @@ def play_sound(event):
|
||||||
|
|
||||||
def play_sound_file(path_to_soundfile):
|
def play_sound_file(path_to_soundfile):
|
||||||
if path_to_soundfile == 'beep':
|
if path_to_soundfile == 'beep':
|
||||||
print '\a' # make a speaker beep
|
exec_command('beep')
|
||||||
return
|
return
|
||||||
if path_to_soundfile is None or not os.path.exists(path_to_soundfile):
|
if path_to_soundfile is None or not os.path.exists(path_to_soundfile):
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue