Merge pull request #813 from andrewjw/andrewjw-patch-1

fix: Only set time if the wlan is connected
This commit is contained in:
Philip Howard 2024-01-16 14:18:37 +00:00 committed by GitHub
commit 5bd5334379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ def sync_time():
redraw_display_if_reqd()
if max_wait > 0:
if wlan.status() == 3:
print("Connected")
try: