We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fe5457 commit 32d2d28Copy full SHA for 32d2d28
1 file changed
openxc/sources/usb.py
@@ -82,7 +82,7 @@ def _read(self, endpoint_address, timeout=None,
82
read_size=DEFAULT_READ_REQUEST_SIZE):
83
timeout = timeout or self.DEFAULT_READ_TIMEOUT
84
try:
85
- str(return self.device.read(0x80 + endpoint_address,
+ return str(self.device.read(0x80 + endpoint_address,
86
read_size, self.DEFAULT_INTERFACE_NUMBER, timeout
87
),'utf-8')
88
except (usb.core.USBError, AttributeError) as e:
0 commit comments