Remove PyYAML usages and dependency (#13889)

This commit is contained in:
Nicolas Mowen
2024-09-22 13:08:36 -06:00
committed by GitHub
parent e8763b3697
commit 6bafb68d77
5 changed files with 12 additions and 9 deletions

View File

@@ -1762,7 +1762,7 @@ class FrigateConfig(FrigateBaseModel):
elif ext == ".json":
is_json = True
# At this point, ry to sniff the config string, to guess if it is json or not.
# At this point, try to sniff the config string, to guess if it is json or not.
if is_json is None:
is_json = REGEX_JSON.match(config) is not None