fix f-string linting error

This commit is contained in:
Robert Kaussow 2023-05-28 23:23:32 +02:00
parent 34b263dbd5
commit 0c6cdb94a7
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class DockerTidy:
try:
self.log.set_level(config.config["logging"]["level"])
except ValueError as e:
self.log.sysexit_with_message(f"Can not set log level.\n{str(e)}")
self.log.sysexit_with_message(f"Can not set log level.\n{e!s}")
self.logger.info(f"Using config file {config.config_file}")
self.logger.debug(f"Config dump: {config.config}")