X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/7a3797b097ce0c446730e690c207e88e6f12d0b1..d9e313c16bbe3c441bc2815e3a90a5324b68b92a:/src/usb_hid.py?ds=inline diff --git a/src/usb_hid.py b/src/usb_hid.py index 38e19b1..791647b 100644 --- a/src/usb_hid.py +++ b/src/usb_hid.py @@ -19,7 +19,7 @@ import sys for module in ["dwc2", "libcomposite"]: if Path("/proc/modules").read_text(encoding="utf-8").find(module) == -1: - raise Exception( + raise Exception( # pylint: disable=broad-exception-raised "%s module not present in your kernel. did you insmod it?" % module ) this = sys.modules[__name__]