From 4f20003f9a0b581427fd2d64611501688632b59c Mon Sep 17 00:00:00 2001 From: Ade Date: Fri, 6 Feb 2015 21:37:41 +1300 Subject: [PATCH] Email part 2 small fix up --- headphones/searcher.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/headphones/searcher.py b/headphones/searcher.py index b92756e9..7f03d7c3 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -949,9 +949,8 @@ def send_to_downloader(data, bestqual, album): if headphones.CONFIG.EMAIL_ENABLED and headphones.CONFIG.EMAIL_ONSNATCH: logger.info(u"Sending Email notification") email = notifiers.Email() - subject = artist + ' - ' + albumname - message = 'Snatched from ' + provider + '. ' + title - email.notify(subject, message) + message = 'Snatched from ' + provider + '. ' + name + email.notify(title, message) def verifyresult(title, artistterm, term, lossless):