Merge pull request #1988 from digitalisx/fix/save-config-debug-log-fstring

Fix: missing f-string prefix on save-config debug log
This commit is contained in:
ikelos
2026-05-26 07:53:56 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -493,7 +493,7 @@ class CommandLine:
)
args.save_config = "config.json"
if args.save_config:
vollog.debug("Writing out configuration data to {args.save_config}")
vollog.debug(f"Writing out configuration data to {args.save_config}")
if os.path.exists(os.path.abspath(args.save_config)):
parser.error(
f"Cannot write configuration: file {args.save_config} already exists"
+1 -1
View File
@@ -377,7 +377,7 @@ class VolShell(cli.CommandLine):
)
args.save_config = "config.json"
if args.save_config:
vollog.debug("Writing out configuration data to {args.save_config}")
vollog.debug(f"Writing out configuration data to {args.save_config}")
if os.path.exists(os.path.abspath(args.save_config)):
parser.error(
f"Cannot write configuration: file {args.save_config} already exists"