Skip to content

Commit 1b7d7ab

Browse files
authored
Update: Improved Linter Errors
1 parent 434295f commit 1b7d7ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Auto Crypto Alert Mail/api_crypto_mail_alert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def send_mail():
6767
try:
6868
lprice = float(cryptoname["lastPrice"])
6969
print(lprice)
70-
except:
70+
except ValueError:
7171
print("This Exchange is not available.")
7272

7373
if lprice >= trig_point and cpolarity == 1:

0 commit comments

Comments
 (0)