aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
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.")