fix import checking

This commit is contained in:
Gilles Boccon-Gibod
2025-02-05 22:19:39 -05:00
parent efae307b3d
commit 7f5e0d190e
2 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -675,7 +675,7 @@ async def run_receive(
try:
if not audio_io.check_audio_output(output):
return
except ValueError as error:
except (ValueError, ImportError, OSError) as error:
print(error)
return
@@ -820,7 +820,7 @@ async def run_transmit(
try:
if not audio_io.check_audio_input(input):
return
except ValueError as error:
except (ValueError, ImportError, OSError) as error:
print(error)
return