properly use fstring

main
Marshall Hallenbeck 2023-09-22 14:55:18 -04:00
parent 63ac5c7e77
commit 5b6153c2a8
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class NXCModule:
connection.conn.listPath("C$", "\\Windows\\System32\\inetsrv\\appcmd.exe") connection.conn.listPath("C$", "\\Windows\\System32\\inetsrv\\appcmd.exe")
self.execute_appcmd(context, connection) self.execute_appcmd(context, connection)
except Exception as e: 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 return
def execute_appcmd(self, context, connection): def execute_appcmd(self, context, connection):