Skip to content

Commit

Permalink
dev2sh: add config directory to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
XPhyro committed Aug 3, 2024
1 parent 83944c7 commit 60db456
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/py/udev/dev2sh
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,8 @@ def dev_read_loop(args, dev_path, config_path):
def main() -> int:
args = parse_args()

sys.path.append(os.path.dirname(args.config_path))

processes = []
for dev_path in ev.list_devices():
process = mp.Process(
Expand Down

0 comments on commit 60db456

Please sign in to comment.