From 670bc8b37515331234cdc8350ff6df7c3505ea46 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 21 Sep 2018 21:31:57 -0700 Subject: [PATCH] Allow setting searchhidden during new_photo. --- etiquette/photodb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etiquette/photodb.py b/etiquette/photodb.py index 8f41313..923487b 100644 --- a/etiquette/photodb.py +++ b/etiquette/photodb.py @@ -216,6 +216,7 @@ class PDBPhotoMixin: commit=True, do_metadata=True, do_thumbnail=True, + searchhidden=False, tags=None, ): ''' @@ -248,7 +249,7 @@ class PDBPhotoMixin: 'created': created, 'tagged_at': None, 'author_id': author_id, - 'searchhidden': False, + 'searchhidden': searchhidden, # These will be filled in during the metadata stage. 'bytes': None, 'width': None,