From 28c36d7e0eba11295e83eba0038a423faf850f60 Mon Sep 17 00:00:00 2001 From: misleadingrhino Date: Wed, 17 Apr 2019 15:52:23 -0400 Subject: [PATCH] Add issue name, number, and year to the Slack notification Issue name and number used to be sent as variable snline. This was changed in search.py so this change just adds it back into the notification. --- mylar/notifiers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mylar/notifiers.py b/mylar/notifiers.py index 2342bc33..74f4a1f0 100644 --- a/mylar/notifiers.py +++ b/mylar/notifiers.py @@ -539,9 +539,9 @@ class SLACK: module += '[NOTIFIER]' if all([sent_to is not None, prov is not None]): - attachment_text += ' from %s and %s' % (prov, sent_to) + attachment_text += ' %s from %s and %s' % (snatched_nzb, prov, sent_to) elif sent_to is None: - attachment_text += ' from %s' % prov + attachment_text += ' %s from %s' % (snatched_nzb, prov) else: pass