summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_ui_helpers_gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py
index 0b45e5fc1..e505c0276 100644
--- a/iw/partition_ui_helpers_gui.py
+++ b/iw/partition_ui_helpers_gui.py
@@ -331,7 +331,7 @@ def createPreExistFSOptionSection(origrequest, maintable, row, mountCombo,
formatcb = None
fstypeCombo = None
- if not formatcb.get_active() and not origfs.migrate:
+ if formatcb and not formatcb.get_active() and not origfs.migrate:
mountCombo.set_data("prevmountable", origfs.mountable)
# this gets added to the table a bit later on