First Draft

This commit is contained in:
=
2025-09-10 15:46:18 -04:00
parent fbf86bb41f
commit 2b29d5064a
+3 -1
View File
@@ -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")