From fb16ba36b9d867d8551e6255bee39086ae4ab348 Mon Sep 17 00:00:00 2001 From: simosechi <97170710+simosechi@users.noreply.github.com> Date: Tue, 23 Apr 2024 17:31:28 +0200 Subject: [PATCH] fix(RVCMD): is_win issue (#2011) fix #2009 --- infer/lib/rvcmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/lib/rvcmd.py b/infer/lib/rvcmd.py index b325d24..fe69274 100644 --- a/infer/lib/rvcmd.py +++ b/infer/lib/rvcmd.py @@ -188,7 +188,7 @@ def download_all_assets(tmpdir: str, version="0.2.2"): } system_type = platform.system().lower() architecture = platform.machine().lower() - is_win = architecture == "windows" + is_win = system_type == "windows" architecture = archs.get(architecture, None) if not architecture: