mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35:25 +03:00
fix warning
This commit is contained in:
parent
7a7ae81d50
commit
9b62ceade0
@ -439,7 +439,7 @@ def motion_activity():
|
||||
# normalize data
|
||||
motion = (
|
||||
df["motion"]
|
||||
.resample(f"{scale}S")
|
||||
.resample(f"{scale}s")
|
||||
.apply(lambda x: max(x, key=abs, default=0.0))
|
||||
.fillna(0.0)
|
||||
.to_frame()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user