diff --git a/scripts/utils/notifications.py b/scripts/utils/notifications.py index e741a3191..e5868d818 100644 --- a/scripts/utils/notifications.py +++ b/scripts/utils/notifications.py @@ -49,7 +49,7 @@ def render_template(template, reason=""): .replace("$confidencepct", confidencepct) \ .replace("$confidence", confidence) \ .replace("$listenurl", listenurl) \ - .replace("$maskedlistenurl", maskedlistenurl) \ + .replace("$friendlyurl", friendlyurl) \ .replace("$date", date) \ .replace("$time", time) \ .replace("$week", week) \ @@ -98,7 +98,7 @@ def render_template(template, reason=""): websiteurl = "http://"+socket.gethostname()+".local" listenurl = websiteurl+"?filename="+path - maskedlistenurl = "[Listen here]("+listenurl+")" + friendlyurl = "[Listen here]("+listenurl+")" image_url = "" if len(settings_dict.get('FLICKR_API_KEY')) > 0 and "$flickrimage" in body: