1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-23 15:29:43 +02:00

fix bug when fix bug when device.get("ID_PART_TABLE_TYPE") is null

This commit is contained in:
Didier 2023-07-21 08:57:32 +02:00
parent 95f6225278
commit 71865bc740

View file

@ -623,7 +623,7 @@ def device_inserted(dev):
else: else:
# display device type # display device type
print_fslabel(device.get("ID_FS_LABEL")) print_fslabel(device.get("ID_FS_LABEL"))
print_fstype(device.get("ID_PART_TABLE_TYPE") + " " + device.get("ID_FS_TYPE")) print_fstype(device.get("ID_FS_TYPE"))
print_model(device.get("ID_MODEL")) print_model(device.get("ID_MODEL"))
print_serial(device.get("ID_SERIAL_SHORT")) print_serial(device.get("ID_SERIAL_SHORT"))
return "INSERTED" return "INSERTED"