Browse Source

Remove debug statement

master
Pēteris Caune 3 years ago
parent
commit
55bf29c6a6
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      hc/api/transports.py

+ 1
- 2
hc/api/transports.py View File

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


Loading…
Cancel
Save