mirror of
https://github.com/aljazceru/plugins.git
synced 2026-01-03 21:34:21 +01:00
autopilot: fix broken arg parse
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user