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 )