mirror of https://github.com/evilhero/mylar
Send snatched_name in Telegram messages on snatch
The current snatch message is always just `Issue snatched!`
This commit is contained in:
parent
d51ad541d1
commit
f4ea76345a
|
@ -2744,7 +2744,7 @@ def notify_snatch(sent_to, comicname, comyear, IssueNumber, nzbprov, pack):
|
|||
if mylar.CONFIG.TELEGRAM_ENABLED and mylar.CONFIG.TELEGRAM_ONSNATCH:
|
||||
logger.info(u"Sending Telegram notification")
|
||||
telegram = notifiers.TELEGRAM()
|
||||
telegram.notify(snline)
|
||||
telegram.notify(snline + " - " + snatched_name)
|
||||
if mylar.CONFIG.SLACK_ENABLED and mylar.CONFIG.SLACK_ONSNATCH:
|
||||
logger.info(u"Sending Slack notification")
|
||||
slack = notifiers.SLACK()
|
||||
|
|
Loading…
Reference in New Issue