We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f658a6 commit 560437eCopy full SHA for 560437e
Canary_Nightlight/code.py
@@ -253,7 +253,7 @@ def blink(color):
253
254
# If the ping has failed, and it's been one second, continue with this code.
255
if wifi_ping is None and current_time - ping_fail_time > 1:
256
- ping_fail_time = (time.monotonic()) # Reset the ping fail time to continue tracking.
+ ping_fail_time = time.monotonic() # Reset the ping fail time to continue tracking.
257
ping_fail_count += 1 # Add one to the fail count tracking.
258
print(f"Ping failed {ping_fail_count} times")
259
# If network down detection is enabled, run the following code.
0 commit comments