From a462fd2bc155c812d3eb4a97b31ef4bb33fc0e75 Mon Sep 17 00:00:00 2001 From: Sergey Natalenko Date: Sun, 10 Dec 2023 23:32:49 +0300 Subject: [PATCH] Update workflows --- gotify.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gotify.py b/gotify.py index 43359d8..12c5513 100644 --- a/gotify.py +++ b/gotify.py @@ -52,7 +52,8 @@ def main(): repository_url = os.getenv("GOTIFY_REPOSITORY_URL") title = os.getenv("GOTIFY_TITLE") message = os.getenv("GOTIFY_MESSAGE") - + if not gotify_host: + return send_message( gotify_host=gotify_host, token=token,