Fix operating system detection on *BSD (#2505)

For #2487, not closing since we still need confirmation that his fixes
*BSD.
This commit is contained in:
konsti
2024-03-18 11:51:55 +01:00
committed by GitHub
parent 42973cd9cb
commit ecc46c5412
@@ -480,7 +480,6 @@ def get_operating_system_and_architecture():
"illumos",
"haiku",
]:
version = platform.mac_ver()[0].split(".")
operating_system = {
"name": operating_system,
"release": version,