From 47df672c590d206e6a31d041c592a66fd03712e3 Mon Sep 17 00:00:00 2001 From: Alexander Lutsai Date: Mon, 26 Apr 2021 16:31:57 +0300 Subject: [PATCH] show fstype if no other label --- menu.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menu.py b/menu.py index a0fd68b..3e0a6f0 100644 --- a/menu.py +++ b/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')