From 5deac925acb9637229b9fb65de8849648d9a073f Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 4 Feb 2002 20:55:36 +0000 Subject: duplicate error checking from gui --- textw/partition_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'textw/partition_text.py') 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(_("")) return (mount, mountgrid) -- cgit