Improved logging

This commit is contained in:
Profitroll 2023-01-14 13:25:18 +01:00
parent 200f25e130
commit 1dd8b13297

View File

@ -20,6 +20,8 @@ async def getWaterLeft(cardid, filename, app=None):
# if path.exists(f"data/pages/{str(filename)}.html") is False:
# run(["touch", f"data/pages/{str(filename)}.html"])
appendLog(f"Trying to get liters for url '{url}'")
if config["use_compiled_page_saver"] is True:
proc = check_output(["PageSaver/pageSaver", f"https://bwtaqua.com.ua/card-topup/?id={cardid}"]) #, ">", f"data/pages/{str(filename)}.html"])