mirror of
https://github.com/evilhero/mylar
synced 2025-03-15 08:18:44 +00:00
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:
parent
9eb13d79b2
commit
28c36d7e0e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue