Commit e5bbc604 by Branch Vincent Committed by GitHub

fix: log config file warning as string not tuple (#7918)

parent ebf6b483
......@@ -36,12 +36,10 @@ if sys.platform == "darwin":
if any(file.exists() for file in (auth_toml, config_toml)):
logger.warning(
(
(
"Configuration file exists at %s, reusing this"
" directory.\n\nConsider moving TOML configuration files to %s, as"
" support for the legacy directory will be removed in an upcoming"
" release."
),
"Configuration file exists at %s, reusing this"
" directory.\n\nConsider moving TOML configuration files to %s, as"
" support for the legacy directory will be removed in an upcoming"
" release."
),
_LEGACY_CONFIG_DIR,
CONFIG_DIR,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment