mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-20 13:04:23 +02:00
remove unnecessary str() in f-string
This commit is contained in:
@@ -368,8 +368,7 @@ def register_startup(app: FastAPI):
|
|||||||
set_wallet_class()
|
set_wallet_class()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(
|
logger.error(
|
||||||
f"Error initializing {settings.lnbits_backend_wallet_class}: "
|
f"Error initializing {settings.lnbits_backend_wallet_class}: {e}"
|
||||||
f"{str(e)}"
|
|
||||||
)
|
)
|
||||||
set_void_wallet_class()
|
set_void_wallet_class()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user