mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
ensure str
This commit is contained in:
parent
3444d340f9
commit
8e47688dc9
@ -614,7 +614,7 @@ class FrigateApp:
|
|||||||
print("*************************************************************")
|
print("*************************************************************")
|
||||||
if isinstance(e, ValidationError):
|
if isinstance(e, ValidationError):
|
||||||
for error in e.errors():
|
for error in e.errors():
|
||||||
location = ".".join(error["loc"])
|
location = ".".join(str(item) for item in error["loc"])
|
||||||
print(f"{location}: {error['msg']}")
|
print(f"{location}: {error['msg']}")
|
||||||
else:
|
else:
|
||||||
print(e)
|
print(e)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user