pull/1392/head
Nelson Gibson 2 years ago
commit ed87909966

@ -1 +1 @@
1.19.0-develop23 1.19.0-develop24

@ -309,6 +309,7 @@ html_theme_options = {
("Audio/Subtitle Language Flags", "defaults/overlays/languages"), ("Audio/Subtitle Language Flags", "defaults/overlays/languages"),
("Languages", "defaults/overlays/languages"), ("Languages", "defaults/overlays/languages"),
("MediaStinger", "defaults/overlays/mediastinger"), ("MediaStinger", "defaults/overlays/mediastinger"),
("Networks", "defaults/overlays/network"),
("Ratings", "defaults/overlays/ratings"), ("Ratings", "defaults/overlays/ratings"),
("Resolution/Edition", "defaults/overlays/resolution"), ("Resolution/Edition", "defaults/overlays/resolution"),
("Ribbon", "defaults/overlays/ribbon"), ("Ribbon", "defaults/overlays/ribbon"),

@ -36,6 +36,7 @@ class Webhooks:
elif webhook.startswith("https://hooks.slack.com/services"): elif webhook.startswith("https://hooks.slack.com/services"):
json = self.slack(json) json = self.slack(json)
response = self.config.post(webhook, json=json) response = self.config.post(webhook, json=json)
if response is not None:
try: try:
response_json = response.json() response_json = response.json()
logger.trace(f"Response: {response_json}") logger.trace(f"Response: {response_json}")

Loading…
Cancel
Save