From 4c42d697828d8eb88b3cc8ccbd60da35a07c22cd Mon Sep 17 00:00:00 2001 From: Greg Neagle Date: Wed, 19 Feb 2020 08:44:08 -0800 Subject: [PATCH] More fixes for parsing startosinstall output --- code/client/munkilib/osinstaller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/munkilib/osinstaller.py b/code/client/munkilib/osinstaller.py index 45c9adfe..1caa398c 100644 --- a/code/client/munkilib/osinstaller.py +++ b/code/client/munkilib/osinstaller.py @@ -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: