From 9fdc57c3a2fc731a55e31a3ccee9c3901ffb1602 Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Wed, 30 Jun 2021 13:00:53 +0200 Subject: [PATCH] drain: fix a broken log statement expansion --- drain/drain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drain/drain.py b/drain/drain.py index c3b9b3e..681facb 100755 --- a/drain/drain.py +++ b/drain/drain.py @@ -277,8 +277,8 @@ def try_for_htlc_fee(plugin, payload, peer_id, amount, chunk, spendable_before): continue plugin.log(f"[{chunk + 1}/{payload['chunks']}] Sending over " - "{len(route)} hops to {payload['command']} {amount} using " - "{fees} fees", 'debug') + f"{len(route)} hops to {payload['command']} {amount} using " + f"{fees} fees", 'debug') for r in route: plugin.log(" - %s %14s %s" % (r['id'], r['channel'], r['amount_msat']), 'debug')