mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-17 20:35:40 +02:00
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:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user