formatting

This commit is contained in:
Josh Hawkins 2026-04-06 08:01:34 -05:00
parent 9043daa4f0
commit a2f6f073e2

View File

@ -474,8 +474,7 @@ class CameraWatchdog(threading.Thread):
# Prune expired reconnect timestamps
now = datetime.now().timestamp()
while (
self.reconnect_timestamps
and self.reconnect_timestamps[0] < now - 3600
self.reconnect_timestamps and self.reconnect_timestamps[0] < now - 3600
):
self.reconnect_timestamps.popleft()
if self.reconnects: