Skip to content

Commit

Permalink
set none value to be actually none instead of /mntnone
Browse files Browse the repository at this point in the history
Signed-off-by: axtloss <[email protected]>
  • Loading branch information
axtloss authored and Michal committed Sep 24, 2022
1 parent 9e588ce commit a8b9c75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/classes/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def __init__(self, partition, mountpoint, filesystem, size):
self.size = size

def generate_jade_entry(self):
return "/mnt"+self.mountpoint+":/dev/"+self.partition[5:]+":"+self.filesystem
mountpoint = "/mnt"+self.mountpoint
if self.mountpoint == "none":
mountpoint = "none"
return mountpoint+":/dev/"+self.partition[5:]+":"+self.filesystem


0 comments on commit a8b9c75

Please sign in to comment.