From c8f3951c1e70bfa9341dd2e48d4f62c3f394fee1 Mon Sep 17 00:00:00 2001 From: CorpNewt Date: Tue, 25 Sep 2018 23:24:26 -0500 Subject: [PATCH] Update version parsing --- gibMacOS.command | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gibMacOS.command b/gibMacOS.command index a5ef8e8..3c8ffed 100644 --- a/gibMacOS.command +++ b/gibMacOS.command @@ -238,6 +238,8 @@ class gibMacOS: print("{} not found".format(prod)) def get_for_version(self, vers): + if str(vers).startswith("10."): + vers = str(vers)[3:] for p in self.mac_prods: if p["version"] == vers: self.download_prod(prod) @@ -267,4 +269,4 @@ if __name__ == '__main__': exit() while True: - g.main() \ No newline at end of file + g.main()