This commit is contained in:
Rhet Turnbull
2020-02-01 07:48:30 -08:00
parent 0bb579ee87
commit 476e094365

View File

@@ -358,16 +358,6 @@ def info(ctx, cli_obj, db, json_, photos_library):
persons = pdb.persons_as_dict
# handle empty person names (added by Photos 5.0+ when face detected but not identified)
# TODO: remove this
# noperson = "UNKNOWN"
# if "" in persons:
# if noperson in persons:
# persons[noperson].append(persons[""])
# else:
# persons[noperson] = persons[""]
# persons.pop("", None)
info["persons_count"] = len(persons)
info["persons"] = persons