Removed part of time check

This commit is contained in:
A.M. Rowsell 2025-02-05 23:40:27 -05:00
parent 87193d0f94
commit a188f8ee5d
Signed by: amr
GPG key ID: 0B6E2D8375CF79A9

View file

@ -105,8 +105,8 @@ def main():
"content-type": "application/json", "content-type": "application/json",
} }
webhook_string = json.dumps(webhook) webhook_string = json.dumps(webhook)
# print(webhook_string)
if published_time > last_check and published_time < now: if published_time > last_check:
r = requests.post( r = requests.post(
hook["webhook"], data=webhook_string, headers=custom_header hook["webhook"], data=webhook_string, headers=custom_header
) )