From 2b29d5064a65b8f639f6fdb995b070f9790fb1d6 Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 10 Sep 2025 15:46:18 -0400 Subject: [PATCH] First Draft --- utils/otpfunctions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/otpfunctions.py b/utils/otpfunctions.py index efb96e9..d1bf05d 100644 --- a/utils/otpfunctions.py +++ b/utils/otpfunctions.py @@ -19,7 +19,7 @@ def getActiveOTP(url): endpoint = url + f'/v1/otp/usage' payload = { - "status" : "0" + "status" : "1" } headers = {"X-APIKey": os.getenv('APIKEY')} @@ -126,6 +126,8 @@ def monitorOTP(url, pups): else: history = pd.read_parquet(f"OTP\\PARQ\\localapprovalhistory.parquet") history = pd.concat([history, finalhashesadded], ignore_index=True) + ct.style_dataframe_dark(history, f"localapproval_history.html") + history.to_parquet(f"OTP\\PARQ\\localapprovalhistory.parquet") os.remove(f"OTP\\PARQ\\otp_activities_{pid}.parquet")