Skip to content

Commit 560437e

Browse files
committed
Remove redundant parens.
1 parent 1f658a6 commit 560437e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Canary_Nightlight/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def blink(color):
253253

254254
# If the ping has failed, and it's been one second, continue with this code.
255255
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.
256+
ping_fail_time = time.monotonic() # Reset the ping fail time to continue tracking.
257257
ping_fail_count += 1 # Add one to the fail count tracking.
258258
print(f"Ping failed {ping_fail_count} times")
259259
# If network down detection is enabled, run the following code.

0 commit comments

Comments
 (0)