1
0
mirror of synced 2024-11-28 07:50:48 +01:00

allnet: add logging

This commit is contained in:
Kevin Trocolli 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()