From 862aef7ec60ecb7c7f1092112802a86c7880d007 Mon Sep 17 00:00:00 2001 From: Alexander Neff Date: Sun, 12 Nov 2023 23:14:04 +0100 Subject: [PATCH] Properly use f-string --- nxc/modules/veeam_dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/modules/veeam_dump.py b/nxc/modules/veeam_dump.py index 84ffbbf7..a44fa2e5 100644 --- a/nxc/modules/veeam_dump.py +++ b/nxc/modules/veeam_dump.py @@ -155,7 +155,7 @@ class NXCModule: for account in output_stripped: user, password = account.split(" ", 1) password = password.replace("WHITESPACE_ERROR", " ") - context.log.highlight(user + ":" + f"{password}") + context.log.highlight(f"{user}:{password}") if " " in password: context.log.fail(f'Password contains whitespaces! The password for user "{user}" is: "{password}"') except ValueError: