Set config version

This commit is contained in:
Nicolas Mowen 2025-01-07 15:39:55 -07:00
parent 9ee31a2446
commit d0c54b66c2

View File

@ -285,6 +285,7 @@ def migrate_015_1(config: dict[str, dict[str, any]]) -> dict[str, dict[str, any]
new_config["detectors"][detector]["model_path"] = path new_config["detectors"][detector]["model_path"] = path
del new_config["detectors"][detector]["model"] del new_config["detectors"][detector]["model"]
new_config["version"] = "0.15-1"
return new_config return new_config