diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2024-03-18 12:29:46 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2024-03-18 12:29:57 +1000 |
commit | 301895685e140f7bb46ef8938432b2d1cc57551f (patch) | |
tree | 8e88b55a10b4494ab634faa508f9711e202393b0 | |
parent | bf061ad157bb92561c4bb716748dd67478d7be27 (diff) |
tools: fix two black warnings
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/985>
-rwxr-xr-x | tools/libinput-analyze-recording.py | 2 | ||||
-rwxr-xr-x | tools/libinput-replay.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/libinput-analyze-recording.py b/tools/libinput-analyze-recording.py index ff7674d0..b9ae3193 100755 --- a/tools/libinput-analyze-recording.py +++ b/tools/libinput-analyze-recording.py @@ -110,7 +110,7 @@ def main(argv): device = yml["devices"][0] if not device["events"]: - print(f"No events found in recording") + print("No events found in recording") sys.exit(1) def events(): diff --git a/tools/libinput-replay.py b/tools/libinput-replay.py index 1a8fe700..c24cb8ca 100755 --- a/tools/libinput-replay.py +++ b/tools/libinput-replay.py @@ -171,7 +171,7 @@ def print_events(devnode, indent, evs): def collect_events(frame): evs = [] events_skipped = False - for (sec, usec, evtype, evcode, value) in frame: + for sec, usec, evtype, evcode, value in frame: if evtype == libevdev.EV_KEY.value and value == 2: # key repeat events_skipped = True continue |