Removed part of time check
This commit is contained in:
parent
87193d0f94
commit
a188f8ee5d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue