aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-08 02:31:37 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-08 02:31:37 +0530
commit7eb97cee178b196881d76291196ac1b054cf9f72 (patch)
tree55a853c06d835072045fc9d64b39baf4b970b587
parentb73129ce2f8f3098953e94c37ce794f067f4f48d (diff)
downloadcrypto-alert-7eb97cee178b196881d76291196ac1b054cf9f72.tar.gz
crypto-alert-7eb97cee178b196881d76291196ac1b054cf9f72.tar.bz2
crypto-alert-7eb97cee178b196881d76291196ac1b054cf9f72.zip
crypto update
-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.")