mirror of
https://github.com/NohamR/GoFileCLI.git
synced 2025-05-24 00:49:00 +00:00
Update gofilecli.py
This commit is contained in:
parent
9d988828a9
commit
05371e9b12
@ -63,8 +63,6 @@ def play_sound(logger):
|
||||
wave_obj = sa.WaveObject.from_wave_file(sound_path)
|
||||
play_obj = wave_obj.play()
|
||||
play_obj.wait_done()
|
||||
except sa.SimpleaudioError as e:
|
||||
logger.debug(f"SimpleaudioError: {e}")
|
||||
except Exception as e:
|
||||
logger.debug(f"An error occurred while playing sound: {e}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user