mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-27 05:17:19 +00:00
Potential fix for code scanning alert no. 120: Empty except
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
9e72a8fd04
commit
d3020ce1a4
1 file changed
+1
@@ -15,6 +15,7 @@ def init_multiprocessing() -> None:
|
||||
if get_start_method(allow_none=True) != "spawn":
|
||||
set_start_method("spawn", force=True)
|
||||
except RuntimeError:
|
||||
# The start method can only be set once per interpreter; ignore if it was set elsewhere.
|
||||
pass
|
||||
|
||||
# Prefer system audio backend by default (prevents simpleaudio segfaults in child processes)
|
||||
|
||||
Reference in new issue
Block a user