autopilot: fix broken arg parse

This commit is contained in:
Michael Schmoock
2022-12-27 16:54:29 +01:00
parent 7dbe65ab8a
commit 1072053b3b

View File

@@ -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: