summaryrefslogtreecommitdiffstats
path: root/iw/fdisk.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/fdisk.py')
-rw-r--r--iw/fdisk.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/iw/fdisk.py b/iw/fdisk.py
index 21fd66921..ecf2d22d3 100644
--- a/iw/fdisk.py
+++ b/iw/fdisk.py
@@ -26,6 +26,11 @@ class FDiskWindow (InstallWindow):
def getNext(self):
from gnomepyfsedit import fsedit
+ from installpath import InstallPathWindow
+ if ((not InstallPathWindow.fdisk) or
+ (not InstallPathWindow.fdisk.get_active ())):
+ return None
+
drives = self.todo.drives.available ().keys ()
drives.sort (isys.compareDrives)