Skip to content

Commit

Permalink
Connection check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SinnieOnFire authored Jan 4, 2024
1 parent b57cb62 commit 48b9ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cy_airquality_rpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# Check for internet connectivity
while True:
try:
requests.get("http://www.google.com", timeout=1)
requests.get("https://www.google.com", timeout=1)
break
except requests.ConnectionError:
print("No internet connection. Retrying in 30 minutes…")
Expand Down

0 comments on commit 48b9ce3

Please sign in to comment.