From 3faa9b1c15a46daaf524146d84679f5fef96d956 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20B=C3=B6sel?= Date: Thu, 3 Mar 2022 17:56:04 +0100 Subject: [PATCH] code style for a last time --- src/usb_hid.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/usb_hid.py b/src/usb_hid.py index b9d9dac..7db2b8e 100644 --- a/src/usb_hid.py +++ b/src/usb_hid.py @@ -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: -- 2.49.0