From 55bf29c6a6a2e084921c8e7fd7021281f305578d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Thu, 14 Oct 2021 17:50:38 +0300 Subject: [PATCH] Remove debug statement --- hc/api/transports.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hc/api/transports.py b/hc/api/transports.py index 7fee13cb..15633149 100644 --- a/hc/api/transports.py +++ b/hc/api/transports.py @@ -257,8 +257,7 @@ class Webhook(HttpTransport): body = self.prepare(body, check).encode() # When sending a test notification, don't retry on failures. - # use_retries = False if getattr(check, "is_test") else True - use_retries = True + use_retries = False if getattr(check, "is_test") else True if spec["method"] == "GET": return self.get(url, use_retries=use_retries, headers=headers)