X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/c6d65f225555f90687081666a58b4a6d29dea987..beb3086113c5a594ade5cff9fd1a726b18564693:/src/usb_hid.py diff --git a/src/usb_hid.py b/src/usb_hid.py index f7ecf97..cd225bf 100644 --- a/src/usb_hid.py +++ b/src/usb_hid.py @@ -689,7 +689,7 @@ def enable(requested_devices: Sequence[Device], boot_device: int = 0) -> None: Path("%s/hid.usb%s" % (config_root, report_id)).symlink_to( function_root ) - except: + except FileNotFoundError: pass # """ 5. Enabling the gadget # ----------------------