mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix use experimental migrator (#12906)
This commit is contained in:
parent
4ecc0e15ce
commit
e86788034d
@ -90,7 +90,7 @@ def migrate_014(config: dict[str, dict[str, any]]) -> dict[str, dict[str, any]]:
|
|||||||
# Remove UI fields
|
# 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"]["use_experimental"]
|
||||||
|
|
||||||
if new_config["ui"].get("live_mode"):
|
if new_config["ui"].get("live_mode"):
|
||||||
del new_config["ui"]["live_mode"]
|
del new_config["ui"]["live_mode"]
|
||||||
|
Loading…
Reference in New Issue
Block a user