webconfig.py: don't handle except BaseException

These ought to be more specific.
This commit is contained in:
Aaron Gyes 2021-12-21 14:06:19 -08:00
parent 50d88e9712
commit 6c6a8f93e9

View file

@ -67,7 +67,7 @@ def isMacOS10_12_5_OrLater():
""" Return whether this system is macOS 10.12.5 or a later version. """
try:
return [int(x) for x in platform.mac_ver()[0].split(".")] >= [10, 12, 5]
except:
except ValueError:
return False