From a188f8ee5d129842842f52297548753b36fcd536 Mon Sep 17 00:00:00 2001 From: "A.M. Rowsell" Date: Wed, 5 Feb 2025 23:40:27 -0500 Subject: [PATCH] Removed part of time check --- discorss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discorss.py b/discorss.py index 7eb752e..6cff9c7 100755 --- a/discorss.py +++ b/discorss.py @@ -105,8 +105,8 @@ def main(): "content-type": "application/json", } 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( hook["webhook"], data=webhook_string, headers=custom_header )