From 2a89cf33d3a45fbc6a6a05805417dcd5a04d7bd9 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 20 Sep 2020 11:43:18 -0700 Subject: [PATCH] Add has_tags=False suggestion to digest_directory docstring. --- etiquette/photodb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etiquette/photodb.py b/etiquette/photodb.py index 11838aa..c067269 100644 --- a/etiquette/photodb.py +++ b/etiquette/photodb.py @@ -517,6 +517,9 @@ class PDBPhotoMixin: photos: An iterable of Photo objects to check. If not provided, all photos are checked. + + If you only want to delete photos that have not been tagged, consider + P.purge_deleted_files(P.search(has_tags=False, is_searchhidden=None)). ''' if photos is None: photos = self.get_photos_by_recent()