mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
Fix ui config migration
This commit is contained in:
parent
58dbbd5d29
commit
7ede8d9c9b
@ -87,6 +87,7 @@ def migrate_014(config: dict[str, dict[str, any]]) -> dict[str, dict[str, any]]:
|
|||||||
if not new_config["record"]:
|
if not new_config["record"]:
|
||||||
del new_config["record"]
|
del new_config["record"]
|
||||||
|
|
||||||
|
# Remove UI fields
|
||||||
if new_config.get("ui"):
|
if new_config.get("ui"):
|
||||||
if new_config["ui"].get("use_experimental"):
|
if new_config["ui"].get("use_experimental"):
|
||||||
del new_config["ui"]["experimental"]
|
del new_config["ui"]["experimental"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user