Skip to content

Commit 5f3d981

Browse files
authored
Fix input-remapper-control for Python < 3.12 (#982)
1 parent 0677e01 commit 5f3d981

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/input-remapper-control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ def main(options: Options) -> None:
310310
return
311311

312312
if options.command is not None:
313-
if options.command in Internals:
313+
if options.command in [command.value for command in Internals]:
314314
input_remapper_control.internals(options.command, options.debug)
315-
elif options.command in Commands:
315+
elif options.command in [command.value for command in Commands]:
316316
from inputremapper.daemon import Daemon
317317

318318
daemon = Daemon.connect(fallback=False)

0 commit comments

Comments
 (0)