Skip to content

Commit 0b6dba2

Browse files
authored
Correct implicit platform name selection (#38)
1 parent f159ea3 commit 0b6dba2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entrypoint.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,12 @@ def main() -> None: # noqa: C901,PLR0912
7070
if match:
7171
py_version = match.groups()[0]
7272
env_python = f"{py_version[0]}.{py_version[1:]}"
73-
platform_name = "linux" # implicit platform (os) to use
7473
for platform_name in PLATFORM_MAP:
7574
if platform_name in name:
7675
break
76+
else:
77+
platform_name = "linux" # implicit platform (os) to use
78+
7779
data = {
7880
"name": name,
7981
"command": commands[0],

0 commit comments

Comments
 (0)