From 26a7e6ad7daa48292cc8bd1454566ebc3143bab1 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Sat, 1 Jun 2024 13:14:47 +0200 Subject: [PATCH] update text of price alert email --- app/cron_price_alert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cron_price_alert.py b/app/cron_price_alert.py index 358b380..5075141 100755 --- a/app/cron_price_alert.py +++ b/app/cron_price_alert.py @@ -72,7 +72,7 @@ def send_email(recipient, symbol, asset_type, current_price,target_price, condit asset_type = 'crypto' html_body = html_body.replace('currentDate', formatted_date) - html_body = html_body.replace('addingSentence', f'The price of ${current_price} is {condition} your target price of ${target_price}') + html_body = html_body.replace('addingSentence', f'The price of ${current_price} is at/{condition} your target price of ${target_price}') html_body = html_body.replace('symbol', symbol) html_body = html_body.replace('asset-link', f'/{asset_type}/{symbol}')