install

installer
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/install

commit dec3ffefc0bc9609d55cdbb83af2012917f9a53d
parent e3934ae3e3da333f3e1f9bbddbedbc1468b9a1af
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Wed, 23 Nov 2016 17:25:26 +0100

Fix(Partitionning): Fix fdisk parsing, for KNOPPIX system like (2)

Diffstat:
Mscreens/conf_install/conf_install.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/screens/conf_install/conf_install.py b/screens/conf_install/conf_install.py @@ -543,6 +543,10 @@ class Conf_Install: print(str(fdisk[i])[2:][:9]) i = i + 1 + if i == len(fdisk): + self.disks[infos[1][:-1]]["label"] = "None" + self.disks[infos[1][:-1]]["name"] = "HDD" + break # On some versions of fdisk, Disklabel and Disk identifier are not here if str(fdisk[i])[2:] != "'": # We split the line in order to get the information