mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 13:29:42 +02:00
fix bug when fix bug when device.get("ID_PART_TABLE_TYPE") is null
This commit is contained in:
parent
95f6225278
commit
71865bc740
1 changed files with 1 additions and 1 deletions
|
@ -623,7 +623,7 @@ def device_inserted(dev):
|
|||
else:
|
||||
# display device type
|
||||
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_serial(device.get("ID_SERIAL_SHORT"))
|
||||
return "INSERTED"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue