From 476e094365050e0050783bc3440cb9fd1e069c67 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Sat, 1 Feb 2020 07:48:30 -0800 Subject: [PATCH] cleanup --- osxphotos/__main__.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/osxphotos/__main__.py b/osxphotos/__main__.py index a51c1004..130366fe 100644 --- a/osxphotos/__main__.py +++ b/osxphotos/__main__.py @@ -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