SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5ea81d86ab73772e1480f881c44bd4a35d48fdc0
parent 151a6e504f44414e110dd7da9fd460d8f1b2d6eb
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Wed, 17 Mar 2021 20:02:00 +1100

Add local certs usage

Diffstat:
Mpay/lnd.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pay/lnd.py b/pay/lnd.py @@ -1,4 +1,5 @@ import subprocess +import pathlib import time import os import json @@ -90,11 +91,11 @@ class lnd(invoice): else: subprocess.run( ["ln", "-s", "{}".format(tls_file), "."], - cwd=subprocess.pathlib.Path.home() + cwd=pathlib.Path.home() ) subprocess.run( ["ln", "-s", "{}".format(macaroon_file), "."], - cwd=subprocess.pathlib.Path.home() + cwd=pathlib.Path.home() ) except Exception as e: