fix for multiple webhook notifications

pull/431/head
meisnate12 3 years ago
parent 0e6f36b8f1
commit 6ca4ccea37

@ -17,7 +17,7 @@ class Webhooks:
if self.config.trace_mode: if self.config.trace_mode:
logger.debug("") logger.debug("")
logger.debug(f"JSON: {json}") logger.debug(f"JSON: {json}")
for webhook in webhooks: for webhook in list(set(webhooks)):
if self.config.trace_mode: if self.config.trace_mode:
logger.debug(f"Webhook: {webhook}") logger.debug(f"Webhook: {webhook}")
if webhook == "notifiarr": if webhook == "notifiarr":

Loading…
Cancel
Save