From 7f81281f5950eafd381826d7dde7b5661bd0c35b Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 14 May 2021 21:29:49 +0200 Subject: Removed dupe formatter There should be no reason to call `.format()` here, since the steps above take care of all formatting. --- examples/guided.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/guided.py b/examples/guided.py index 4c8af245..0ae253a0 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -292,8 +292,8 @@ def perform_installation_steps(): unlocked_device.format(fs.find_partition('/').filesystem) unlocked_device.mount('/mnt') else: - fs.find_partition('/').format(fs.find_partition('/').filesystem) fs.find_partition('/').mount('/mnt') + if hasUEFI(): fs.find_partition('/boot').mount('/mnt/boot') -- cgit v1.2.3-54-g00ecf