summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
Diffstat (limited to 'textw')
-rw-r--r--textw/partition_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py
index 4865187b3..998350ea7 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -211,7 +211,7 @@ class PartitionWindow:
else:
mount = Entry(20, "")
mountgrid.setField(mount, 1, 0, anchorRight = 1, growx = 1)
- if not request.fstype.isMountable():
+ if not request.fstype and request.fstype.isMountable():
mount.setFlags(FLAG_DISABLED, FLAGS_SET)
mount.set(_("<Not Applicable>"))
return (mount, mountgrid)