remove unnecessary str() in f-string
This commit is contained in:
parent
4d1c4f6348
commit
3b01af242c
1 changed files with 1 additions and 2 deletions
|
|
@ -368,8 +368,7 @@ def register_startup(app: FastAPI):
|
|||
set_wallet_class()
|
||||
except Exception as e:
|
||||
logger.error(
|
||||
f"Error initializing {settings.lnbits_backend_wallet_class}: "
|
||||
f"{str(e)}"
|
||||
f"Error initializing {settings.lnbits_backend_wallet_class}: {e}"
|
||||
)
|
||||
set_void_wallet_class()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue