デバイス一覧から参照する型名を修正
This commit is contained in:
parent
611bd03b80
commit
7282af55e0
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ if __name__ == '__main__':
|
|||
usb_devices = get_usb_devices()
|
||||
i = 0
|
||||
for device in usb_devices:
|
||||
print(f"{str(i + 1)} 番目 | デバイス名: {device['Description']} \n製造元: {device['Manufacturer']} \nデバイスID: {device['DeviceID']}")
|
||||
print(f"{str(i + 1)} 番目 | デバイス名: {device['device_name']} \n製造元: {device['Manufacturer']} \nデバイスID: {device['device_id']}")
|
||||
print("-" * 20)
|
||||
i += 1
|
||||
device_num = input('どのデバイスを登録しますか?番号で指定してください: ')
|
||||
|
|
Loading…
Reference in a new issue