refactor: wrong logging. -> logger.

This commit is contained in:
Dobin Rutishauser
2025-06-10 12:36:40 +02:00
parent 4443827fcf
commit fcb40ccb6a
7 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ class Payload():
def init(self) -> bool:
logging.info("-[ Payload: {}".format(self.payload_path))
logger.info("-[ Payload: {}".format(self.payload_path))
if not os.path.exists(self.payload_path):
logger.error("Payload file does not exist: {}".format(self.payload_path))
return False
@@ -21,6 +21,6 @@ class Payload():
with open(self.payload_path, 'rb') as f:
self.payload_data = f.read()
logging.info(" Size: {} bytes".format(len(self.payload_data)))
logger.info(" Size: {} bytes".format(len(self.payload_data)))
return True