aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-08 05:10:45 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-08 05:10:45 +0530
commit4bf0a554b251c90812235d1c55c3fa2c42c324d6 (patch)
tree1bed237792794e0105be6b0c926b670aff12e40a
parentd9c4e90c4efdf3d9feecf72a15fb872ef7e92bae (diff)
downloadcrypto-alert-4bf0a554b251c90812235d1c55c3fa2c42c324d6.tar.gz
crypto-alert-4bf0a554b251c90812235d1c55c3fa2c42c324d6.tar.bz2
crypto-alert-4bf0a554b251c90812235d1c55c3fa2c42c324d6.zip
added some guide comments
-rw-r--r--main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index c9a6b93..771a8f5 100644
--- a/main.py
+++ b/main.py
@@ -73,7 +73,8 @@ def check():
email(btc_price)
print(f"Alert! BTC price is {btc_price} USD. Email sent.")
-
+# you can comment below code and call the check() function to check everything is working smoothly or not
+# check()
schedule.every().hour.do(check)
while True: