mirror of
https://github.com/NohamR/GoFileCLI.git
synced 2026-01-08 23:18:14 +00:00
Update gofilecli.py
This commit is contained in:
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user