install

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

commit 333838c01a8955069744fc0c039515745153fed4
parent 00a2146443ba30b92feda6b36b040a7078cd23ec
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Fri, 25 Nov 2016 09:35:18 +0100

Fix(Partitionning): Add bytes count into the parser

Diffstat:
Mscreens/conf_install/conf_install.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/screens/conf_install/conf_install.py b/screens/conf_install/conf_install.py @@ -484,7 +484,7 @@ class Conf_Install: def get_partitions_info(self): # Units used for parsing fdisk output # M = Mb, G = Gb, etc - units = ["M", "G", "T", "P", "E", "Z", "Y"] + units = ["B", "K", "M", "G", "T", "P", "E", "Z", "Y"] i = 0 # Execute fdisk -l command @@ -606,6 +606,7 @@ class Conf_Install: while j < len(d_part) and d_part[j][-1:] not in units: j = j + 1 + print(d_part) # Get the size info (100M like) part_info["size"] = d_part[j]