From 896a9171acae40d2433a7ba55e507750884b7e32 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 21 Mar 2022 08:14:01 -0400 Subject: [PATCH] Agent: Add missing 'f' to f-string --- monkey/infection_monkey/exploit/smbexec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/exploit/smbexec.py b/monkey/infection_monkey/exploit/smbexec.py index 689484c25..31a8dbb53 100644 --- a/monkey/infection_monkey/exploit/smbexec.py +++ b/monkey/infection_monkey/exploit/smbexec.py @@ -70,7 +70,7 @@ class SMBExploiter(HostExploiter): except Exception as exc: logger.error( - "Error while trying to copy file using SMB to {self.host.ip_addr} with " + f"Error while trying to copy file using SMB to {self.host.ip_addr} with " f"{creds_for_log}:{exc}" ) continue