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.
This commit is contained in:
misleadingrhino 2019-04-17 15:52:23 -04:00 committed by evilhero
parent 9eb13d79b2
commit 28c36d7e0e
1 changed files with 2 additions and 2 deletions

View File

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