1
0
Fork 0
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:
Bart274 2020-01-10 10:31:08 +01:00 committed by evilhero
parent ebc86eb8c1
commit 52fb8dc1c3

View file

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