mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-22 12:40:41 +01:00
tools: fix ruff format for libinput-replay
Fixes: 89c2f29d2c ("tools/libinput-replay: Warn if writing to local-overrides fails")
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1272>
This commit is contained in:
parent
7e98f2f2d2
commit
79ea713aa3
1 changed files with 3 additions and 1 deletions
|
|
@ -340,7 +340,9 @@ def setup_quirks(recording):
|
|||
try:
|
||||
with overrides.open("w+") as fd:
|
||||
fd.write("# This file was generated by libinput replay\n")
|
||||
fd.write("# Unless libinput replay is running right now, remove this file.\n")
|
||||
fd.write(
|
||||
"# Unless libinput replay is running right now, remove this file.\n"
|
||||
)
|
||||
fd.write("\n\n".join(quirks))
|
||||
except IOError:
|
||||
error("Warning: Couldn't write to {}, please re-run as root".format(overrides))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue