Skip to content

Conversation

@moubctez
Copy link
Contributor

On FreeBSD, NetBSD, and (presumably) OpenBSD, sys.plaform returns platform name concatenated with the major version number. For example, for NetBSD 11.x, it returns netbsd11. Following Python documentation for sys.platform, this pull request fixes platform detection in hid module.

@dainnilsson
Copy link
Member

Thanks! I'll try to get this out in a patch release soon.

@dainnilsson dainnilsson merged commit e14b1ea into Yubico:main Jan 19, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants