]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/usb_hid.py
code style for a last time
[Adafruit_Blinka-hackapet.git] / src / usb_hid.py
index b9d9daca76c7e269b0d0c6bf58d8cd98ed1dfefb..7db2b8e39fc0fc717c12ebcf4baa7c09121e0d3d 100644 (file)
@@ -52,9 +52,9 @@ class Device:
 
     def send_report(self, report: bytearray, report_id: int = None):
         """Send an HID report. If the device descriptor specifies zero or one report id's,
-                you can supply `None` (the default) as the value of ``report_id``.
-                Otherwise you must specify which report id to use when sending the report.
-                """
+        you can supply `None` (the default) as the value of ``report_id``.
+        Otherwise you must specify which report id to use when sending the report.
+        """
         report_id = report_id or self.report_ids[0]
         device_path = self.get_device_path(report_id)
         with open(device_path, "rb+") as fd: