mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-01 19:17:41 +03:00
Fix
This commit is contained in:
parent
e560112732
commit
baac31b556
@ -374,7 +374,7 @@ def migrate_017_0(config: dict[str, dict[str, Any]]) -> dict[str, dict[str, Any]
|
||||
camera_config: dict[str, dict[str, Any]] = camera.copy()
|
||||
camera_record_retain = camera_config.get("record", {}).get("retain")
|
||||
|
||||
if global_record_retain:
|
||||
if camera_record_retain:
|
||||
continuous = {"days": 0}
|
||||
motion = {"days": 0}
|
||||
days = camera_record_retain.get("days")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user