---
pyanaconda/ui/gui/spokes/custom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 4d0a1ec..b11f465 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1671,7 +1671,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
% (dialog.size, self._free_space))
# if no size was entered, request as much of the free space as possible
- if dialog.size.convertTo(spec="mb") < 1:
+ if not dialog.size or dialog.size.convertTo(spec="mb") < 1:
size = self._free_space
else:
size = dialog.size
--
1.8.1.2