mirror of
https://codeberg.org/privacy1st/rotate-screen
synced 2024-11-22 21:39:33 +01:00
fix
This commit is contained in:
parent
1f63f56707
commit
13c589d0b4
@ -175,7 +175,7 @@ class Xinput:
|
||||
@classmethod
|
||||
def get_devices(cls) -> list[Device]:
|
||||
ids = cls.get_device_ids()
|
||||
names = [execute(['xinput', 'list', '--name-only', id_]).strip() for id_ in ids]
|
||||
names = [execute(['xinput', 'list', '--name-only', str(id_)]).strip() for id_ in ids]
|
||||
return [Device(name, id_) for id_, name in zip(ids, names)]
|
||||
|
||||
@classmethod
|
||||
|
Loading…
Reference in New Issue
Block a user