Fix use experimental migrator (#12906)

This commit is contained in:
Nicolas Mowen 2024-08-09 15:59:55 -06:00 committed by GitHub
parent 70618e93b7
commit e9e86cc5af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"]