From 203ecaad86c8cf70e29e71f1955ca091420414d8 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Fri, 10 Jul 2020 16:01:41 +0200 Subject: [PATCH] fix: typo --- bin/RegexTracker.py | 2 +- bin/TermTrackerMod.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/RegexTracker.py b/bin/RegexTracker.py index 270df81f..938738d0 100755 --- a/bin/RegexTracker.py +++ b/bin/RegexTracker.py @@ -43,7 +43,7 @@ def new_term_found(term, term_type, item_id, item_date): mail_to_notify = Term.get_term_mails(term_uuid) if mail_to_notify: - mail_subject = Tracker.get_email_subject(tracker_uuid) + mail_subject = Tracker.get_email_subject(term_uuid) mail_body = mail_body_template.format(term, item_id, full_item_url, item_id) for mail in mail_to_notify: NotificationHelper.sendEmailNotification(mail, mail_subject, mail_body) diff --git a/bin/TermTrackerMod.py b/bin/TermTrackerMod.py index 931b5979..2b4241c0 100755 --- a/bin/TermTrackerMod.py +++ b/bin/TermTrackerMod.py @@ -50,7 +50,7 @@ def new_term_found(term, term_type, item_id, item_date): mail_to_notify = Term.get_term_mails(term_uuid) if mail_to_notify: - mail_subject = Tracker.get_email_subject(tracker_uuid) + mail_subject = Tracker.get_email_subject(term_uuid) mail_body = mail_body_template.format(term, item_id, full_item_url, item_id) for mail in mail_to_notify: NotificationHelper.sendEmailNotification(mail, mail_subject, mail_body)