From 5b6153c2a80b946ab2162b0bb9560adaade26b6e Mon Sep 17 00:00:00 2001 From: Marshall Hallenbeck Date: Fri, 22 Sep 2023 14:55:18 -0400 Subject: [PATCH] properly use fstring --- nxc/modules/appcmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/modules/appcmd.py b/nxc/modules/appcmd.py index ea02f674..0e333a87 100644 --- a/nxc/modules/appcmd.py +++ b/nxc/modules/appcmd.py @@ -35,7 +35,7 @@ class NXCModule: connection.conn.listPath("C$", "\\Windows\\System32\\inetsrv\\appcmd.exe") self.execute_appcmd(context, connection) except Exception as e: - context.log.fail("appcmd.exe not found, this module is not applicable - {e}") + context.log.fail(f"appcmd.exe not found, this module is not applicable - {e}") return def execute_appcmd(self, context, connection):