Remove unused code
Code is also not cross-platform compatible
This commit is contained in:
parent
298fb15306
commit
8061146d4f
|
@ -763,9 +763,6 @@ def strip_soundfile_path(file_, dirs=None, abs_=True):
|
||||||
return file_
|
return file_
|
||||||
|
|
||||||
def play_sound_file(path_to_soundfile):
|
def play_sound_file(path_to_soundfile):
|
||||||
if path_to_soundfile == 'beep':
|
|
||||||
exec_command('beep')
|
|
||||||
return
|
|
||||||
path_to_soundfile = check_soundfile_path(path_to_soundfile)
|
path_to_soundfile = check_soundfile_path(path_to_soundfile)
|
||||||
if path_to_soundfile is None:
|
if path_to_soundfile is None:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue