diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-03-08 02:31:37 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-03-08 02:31:37 +0530 |
commit | 7eb97cee178b196881d76291196ac1b054cf9f72 (patch) | |
tree | 55a853c06d835072045fc9d64b39baf4b970b587 | |
parent | b73129ce2f8f3098953e94c37ce794f067f4f48d (diff) | |
download | crypto-alert-7eb97cee178b196881d76291196ac1b054cf9f72.tar.gz crypto-alert-7eb97cee178b196881d76291196ac1b054cf9f72.tar.bz2 crypto-alert-7eb97cee178b196881d76291196ac1b054cf9f72.zip |
crypto update
-rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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.") |