From 1072053b3b0ed9b55d09297e6d11a836eb627dda Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Tue, 27 Dec 2022 16:54:29 +0100 Subject: [PATCH] autopilot: fix broken arg parse --- autopilot/c-lightning-autopilot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autopilot/c-lightning-autopilot.py b/autopilot/c-lightning-autopilot.py index 996c121..dacfbc9 100644 --- a/autopilot/c-lightning-autopilot.py +++ b/autopilot/c-lightning-autopilot.py @@ -84,9 +84,9 @@ if __name__ == '__main__': args = parser.parse_args() # FIXME: find ln-dir from lightningd. - path = path = expanduser("~/.lightning/lightning-rpc") + path = expanduser("~/.lightning/lightning-rpc") if args.path_to_rpc_interface is not None: - path = expanduser(parser.path-to-rpc-interface) + path = expanduser(args.path_to_rpc_interface) balance = 1000000 if args.balance is not None: