Skip to content

Commit

Permalink
fix: fixed a bug that didnt allow to more than 1 partition to be form…
Browse files Browse the repository at this point in the history
…atted
  • Loading branch information
Vilez0 committed Apr 13, 2024
1 parent 80bca81 commit 837bf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion live-installer/frontend/partitioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def assign_mount_point(partition, mount_point, filesystem, read_only = False, su
part[IDX_PART_MOUNT_AS] = mount_point
part[IDX_PART_FORMAT_AS] = filesystem
part[IDX_PART_READ_ONLY] = read_only
elif mount_point == part[IDX_PART_MOUNT_AS]:
elif mount_point == part[IDX_PART_MOUNT_AS] and mount_point != "":
part[IDX_PART_MOUNT_AS] = ""
part[IDX_PART_FORMAT_AS] = ""
part[IDX_PART_READ_ONLY] = False
Expand Down

0 comments on commit 837bf41

Please sign in to comment.