From 7eb97cee178b196881d76291196ac1b054cf9f72 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Fri, 8 Mar 2024 02:31:37 +0530 Subject: crypto update --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 7802d94..76211c4 100644 --- a/main.py +++ b/main.py @@ -37,6 +37,6 @@ def email(btc): btc_price = price() alert = 33000 -if btc_price == alert_threshold: +if btc_price == alert: email(btc_price) print(f"Alert! BTC price is {btc_price} USD. Email sent.") -- cgit v1.2.3-59-g8ed1b