fix: change output to stderr
Some checks failed
ci / docker (push) Failing after 7s

This commit is contained in:
2024-11-15 00:01:57 +01:00
parent e416149d35
commit 7fa965a92c

View File

@@ -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 #