mirror of https://github.com/evilhero/mylar
add download info to Snatched notification for Telegram
This commit is contained in:
parent
ebc86eb8c1
commit
52fb8dc1c3
|
@ -2751,7 +2751,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 + " - " + snatched_name)
|
||||
telegram.notify(snline + "%s - %s - Mylar %s" % (snline, snatched_name, sent_to))
|
||||
if mylar.CONFIG.SLACK_ENABLED and mylar.CONFIG.SLACK_ONSNATCH:
|
||||
logger.info(u"Sending Slack notification")
|
||||
slack = notifiers.SLACK()
|
||||
|
|
Loading…
Reference in New Issue