mirror of
https://github.com/evilhero/mylar
synced 2024-12-21 23:32:23 +00:00
add download info to Snatched notification for Telegram
This commit is contained in:
parent
ebc86eb8c1
commit
52fb8dc1c3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue