commit 151a6e504f44414e110dd7da9fd460d8f1b2d6eb
parent 36fead91a21bc9fe9933850879aa8ee147168145
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date: Wed, 17 Mar 2021 20:01:16 +1100
Add local certs usage
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pay/lnd.py b/pay/lnd.py
@@ -90,11 +90,11 @@ class lnd(invoice):
else:
subprocess.run(
["ln", "-s", "{}".format(tls_file), "."],
- cwd=pathlib.Path.home()
+ cwd=subprocess.pathlib.Path.home()
)
subprocess.run(
["ln", "-s", "{}".format(macaroon_file), "."],
- cwd=pathlib.Path.home()
+ cwd=subprocess.pathlib.Path.home()
)
except Exception as e: