mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-06 14:31:35 +01:00
This commit is contained in:
@@ -358,8 +358,8 @@ def smart_send_to_clients(path=None):
|
|||||||
method = instructions.get("method")
|
method = instructions.get("method")
|
||||||
|
|
||||||
if app.config["DOWNTIME"] > datetime.datetime.now():
|
if app.config["DOWNTIME"] > datetime.datetime.now():
|
||||||
print("Ignoring because of Downtime:", title, message, users)
|
print("Ignoring because of Downtime:", title, message, users, file=sys.stderr)
|
||||||
print("Downtime until", app.config["DOWNTIME"].isoformat())
|
print("Downtime until", app.config["DOWNTIME"].isoformat(), file=sys.stderr)
|
||||||
return ("Ignored because of Downtime", 200)
|
return ("Ignored because of Downtime", 200)
|
||||||
|
|
||||||
# authenticated by access token or webhook path #
|
# authenticated by access token or webhook path #
|
||||||
|
|||||||
Reference in New Issue
Block a user