Skip to content

Commit 0055db3

Browse files
committed
fix: Index split string
1 parent dcb75be commit 0055db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tox_gh_actions/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def get_abiflags() -> str:
182182
if prefix == "_d":
183183
abiflags += "d"
184184

185-
if suffix.split("-", 1).endswith("t"):
185+
if suffix.split("-", 1)[0].endswith("t"):
186186
abiflags += "t"
187187

188188
return abiflags

0 commit comments

Comments
 (0)