Skip to content

Commit 9f89c4a

Browse files
committed
Format code with black
1 parent 55dd54e commit 9f89c4a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

can/interfaces/ixxat/canlib_vcinpl.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,6 @@ def get_ixxat_hwids():
946946

947947

948948
def _detect_available_configs() -> List[AutoDetectedConfig]:
949-
950949
config_list = [] # list in wich to store the resulting bus kwargs
951950

952951
# used to detect HWID
@@ -983,7 +982,13 @@ def _detect_available_configs() -> List[AutoDetectedConfig]:
983982
break
984983
else:
985984
_canlib.canChannelClose(channel_handle)
986-
config_list.append({"interface": "ixxat", "channel": channel, "unique_hardware_id": hwid})
985+
config_list.append(
986+
{
987+
"interface": "ixxat",
988+
"channel": channel,
989+
"unique_hardware_id": hwid,
990+
}
991+
)
987992
_canlib.vciDeviceClose(device_handle2)
988993
_canlib.vciEnumDeviceClose(device_handle)
989994
except AttributeError:

0 commit comments

Comments
 (0)