From e9ae059d4681dd59bf7e8458ea160fd1d301bc15 Mon Sep 17 00:00:00 2001 From: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com> Date: Sat, 18 Jan 2025 05:33:27 +0100 Subject: [PATCH] Fix windows issue --- aqt/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/helper.py b/aqt/helper.py index b1532067..fc523d94 100644 --- a/aqt/helper.py +++ b/aqt/helper.py @@ -55,7 +55,7 @@ def get_os_name() -> str: return "mac" if system == "linux": return "linux" - if system == "windows": + if system in ("windows", "win32"): # Accept both windows and win32 return "windows" raise ValueError(f"Unsupported operating system: {system}")