More fixes for parsing startosinstall output

This commit is contained in:
Greg Neagle
2020-02-19 08:44:08 -08:00
parent fc7f65ddb6
commit 4c42d69782

View File

@@ -371,7 +371,7 @@ class StartOSInstallRunner(object):
display.display_status_minor(msg)
elif msg.startswith(('Preparing ', 'Preparing: ')):
# percent-complete messages
percent_str = msg.split()[-1].rstrip('%')
percent_str = msg.split()[-1].rstrip('%.')
try:
percent = int(float(percent_str))
except ValueError: