diff options
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py index 8c53eacab..09fc00737 100644 --- a/autopart.py +++ b/autopart.py @@ -260,7 +260,7 @@ def fitSized(diskset, requests, primOnly = 0, newParts = None): for part in free[drive]: # print "Trying partition", printFreespaceitem(part) - partSize = getPartSize(part) + partSize = getPartSizeMB(part) if partSize >= request.requestSize and partSize > largestPart[0]: if not request.primary or (not part.type & parted.PARTITION_LOGICAL): largestPart = (partSize, part) |