Skip to content

Commit 87930a0

Browse files
committed
Reformat code by black
1 parent dbc95d1 commit 87930a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

can/interfaces/gs_usb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _recv_internal(
9090
msg = can.Message()
9191
msg.arbitration_id = frame.arbitration_id
9292
msg.dlc = frame.can_dlc
93-
msg.data = bytearray(frame.data)[0:msg.dlc]
93+
msg.data = bytearray(frame.data)[0 : msg.dlc]
9494
msg.timestamp = frame.timestamp
9595
msg.channel = self.channel_info
9696
msg.is_extended_id = frame.is_extended_id

0 commit comments

Comments
 (0)