Commit e5bbc604 by Branch Vincent Committed by GitHub

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

parent ebf6b483
...@@ -36,13 +36,11 @@ if sys.platform == "darwin": ...@@ -36,13 +36,11 @@ if sys.platform == "darwin":
if any(file.exists() for file in (auth_toml, config_toml)): if any(file.exists() for file in (auth_toml, config_toml)):
logger.warning( logger.warning(
( (
(
"Configuration file exists at %s, reusing this" "Configuration file exists at %s, reusing this"
" directory.\n\nConsider moving TOML configuration files to %s, as" " directory.\n\nConsider moving TOML configuration files to %s, as"
" support for the legacy directory will be removed in an upcoming" " support for the legacy directory will be removed in an upcoming"
" release." " release."
), ),
),
_LEGACY_CONFIG_DIR, _LEGACY_CONFIG_DIR,
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