From 457829de0c51dd365faf25f101e1f497c20deed1 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 1 Aug 2022 10:22:51 +0100 Subject: [PATCH] Make format --- lnbits/wallets/cliche.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lnbits/wallets/cliche.py b/lnbits/wallets/cliche.py index 8e19e793..bc5c566c 100644 --- a/lnbits/wallets/cliche.py +++ b/lnbits/wallets/cliche.py @@ -64,9 +64,7 @@ class ClicheWallet(Wallet): if data.get("error") is not None and data["error"].get("message"): logger.error(data["error"]["message"]) error_message = data["error"]["message"] - return InvoiceResponse( - False, checking_id, payment_request, error_message - ) + return InvoiceResponse(False, checking_id, payment_request, error_message) if data.get("result") is not None: checking_id, payment_request = ( @@ -74,7 +72,9 @@ class ClicheWallet(Wallet): data["result"]["invoice"], ) else: - return InvoiceResponse(False, checking_id, payment_request, "Could not get payment hash") + return InvoiceResponse( + False, checking_id, payment_request, "Could not get payment hash" + ) return InvoiceResponse(True, checking_id, payment_request, error_message)