From 71865bc7401890122e32e9db18f8371e4c45058a Mon Sep 17 00:00:00 2001 From: Didier Date: Fri, 21 Jul 2023 08:57:32 +0200 Subject: [PATCH] fix bug when fix bug when device.get("ID_PART_TABLE_TYPE") is null --- pandora-box.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora-box.py b/pandora-box.py index 837704b..c60485e 100755 --- a/pandora-box.py +++ b/pandora-box.py @@ -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"