1
0
forked from Hay1tsme/artemis

allnet: add logging

This commit is contained in:
Hay1tsme 2023-05-30 21:45:37 -04:00
parent 37d24b3b4d
commit 20865dc495

View File

@ -225,6 +225,7 @@ class AllnetServlet:
req_file = match["file"].replace("%0A", "") req_file = match["file"].replace("%0A", "")
if path.exists(f"{self.config.allnet.update_cfg_folder}/{req_file}"): if path.exists(f"{self.config.allnet.update_cfg_folder}/{req_file}"):
self.logger.info(f"Request for DL INI file {req_file} successful")
return open( return open(
f"{self.config.allnet.update_cfg_folder}/{req_file}", "rb" f"{self.config.allnet.update_cfg_folder}/{req_file}", "rb"
).read() ).read()