From 2baa7c20e760f10b13f505bf385f73c946e12fe5 Mon Sep 17 00:00:00 2001 From: yubanmeiqin9048 <64676973+yubanmeiqin9048@users.noreply.github.com> Date: Wed, 16 Aug 2023 11:15:08 +0800 Subject: [PATCH] =?UTF-8?q?fix=20webhook=E6=8F=92=E4=BB=B6=E5=BC=80?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/plugins/webhook/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins/webhook/__init__.py b/app/plugins/webhook/__init__.py index e1409ffe..a2a6c909 100644 --- a/app/plugins/webhook/__init__.py +++ b/app/plugins/webhook/__init__.py @@ -133,7 +133,7 @@ class WebHook(_PluginBase): """ 向第三方Webhook发送请求 """ - if not self._webhook_url: + if not self._enabled or not self._webhook_url: return def __to_dict(_event):