remove unnecessary str() in f-string

This commit is contained in:
Pavol Rusnak 2023-10-26 15:44:12 +02:00
parent 4d1c4f6348
commit 3b01af242c

View File

@ -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()