mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Incorrect boolean logic
This commit is contained in:
parent
aab5d28f8a
commit
0a623bbb41
@ -158,7 +158,7 @@ class StorageMaintainer(threading.Thread):
|
|||||||
"""Check every 5 minutes if storage needs to be cleaned up."""
|
"""Check every 5 minutes if storage needs to be cleaned up."""
|
||||||
while not self.stop_event.wait(300):
|
while not self.stop_event.wait(300):
|
||||||
|
|
||||||
if not self.camera_storage_stats or False in [
|
if not self.camera_storage_stats or True in [
|
||||||
r["needs_refresh"] for r in self.camera_storage_stats.values()
|
r["needs_refresh"] for r in self.camera_storage_stats.values()
|
||||||
]:
|
]:
|
||||||
self.calculate_camera_bandwidth()
|
self.calculate_camera_bandwidth()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user