mirror of
https://github.com/SL-RU/ranger_udisk_menu.git
synced 2024-11-10 12:34:07 +01:00
show fstype if no other label
This commit is contained in:
parent
0f34945b6a
commit
47df672c59
2
menu.py
2
menu.py
@ -89,6 +89,8 @@ class ChoosePartition:
|
||||
lab = part['partlabel']
|
||||
elif 'parttypename' not in part and part['parttypename'] is not None:
|
||||
lab = part['parttypename']
|
||||
elif 'fstype' not in part and part['fstype'] is not None:
|
||||
lab = part['fstype']
|
||||
|
||||
if 'mountpoint' not in part:
|
||||
raise Exception('Wrong lsblk json format. No mountpoint')
|
||||
|
Loading…
Reference in New Issue
Block a user