Skip to content

Commit

Permalink
fixup! pyln: Override the PATH envvar to determine CLN binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Feb 2, 2024
1 parent 7f722f1 commit 109d384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, *args, **kwargs):
# Yes, we really want to test the local development version, not
# something in out path.
self.old_path = os.environ['PATH']
binpath = Path(__file__) / ".." / "lightningd"
binpath = Path(__file__).parent / ".." / "lightningd"
os.environ['PATH'] = f"{binpath}:{self.old_path}"

utils.LightningNode.__init__(self, *args, **kwargs)
Expand Down

0 comments on commit 109d384

Please sign in to comment.