You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love your tool but i found an (nitpicky) issue.
when i misconfigured my config.json to use a directory that doesnt exist
"cache": "/doesnt/exist/cache"
this error occurs
File "/opt/persistent-evdev/bin/persistent-evdev.py", line 74, in save_capabilities
with open(capabilities_path, "w+") as file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/doesnt/exist/cache/device.json'
it would be nice if
make_capabilities_path(self)
also check if the directory exist and if not it would create it
The text was updated successfully, but these errors were encountered:
Ghibranalj
added a commit
to Ghibranalj/persistent-evdev
that referenced
this issue
Dec 10, 2023
I love your tool but i found an (nitpicky) issue.
when i misconfigured my config.json to use a directory that doesnt exist
this error occurs
it would be nice if
also check if the directory exist and if not it would create it
The text was updated successfully, but these errors were encountered: