This commit is contained in:
2026-06-11 13:21:35 -04:00
parent 7b83dbd114
commit 11ff3752d3
2 changed files with 8 additions and 4 deletions
+3 -2
View File
@@ -74,10 +74,11 @@ def process_face_mode(
# Find face metadata for this person
face_info = None
for p in asset.get("people", []):
people_list = asset.get("people") or []
for p in people_list:
if p is None:
continue
if p["id"] == person["id"] and (faces := p.get("faces")):
if p.get("id") == person["id"] and (faces := p.get("faces")):
face_info = faces[0]
break