From 1867d30d88da47e7b91690aee79bd8001151771a Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 9 Nov 2022 19:42:30 -0800 Subject: [PATCH] Add log.loud for search query explain. --- etiquette/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/objects.py b/etiquette/objects.py index e4e25ed..6e0e8b5 100644 --- a/etiquette/objects.py +++ b/etiquette/objects.py @@ -1905,7 +1905,7 @@ class Search: query = f'{"-" * 80}\n{query}\n{"-" * 80}' log.debug('\n%s %s', query, bindings) - # print(self.photodb.explain(query, bindings)) + log.loud(self.photodb.explain(query, bindings)) generator = self.photodb.select(query, bindings) seen_albums = set() offset = kwargs.offset