From b9237957960516e28de2aba43f3adff389d67529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Ba=C3=B1ados=20Schwerter?= Date: Tue, 26 Nov 2024 18:50:17 +0000 Subject: [PATCH] Fixed typing --- src/morphodict/search/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/morphodict/search/runner.py b/src/morphodict/search/runner.py index 57d351ad8..25cc6cbbe 100644 --- a/src/morphodict/search/runner.py +++ b/src/morphodict/search/runner.py @@ -92,7 +92,7 @@ def sort_by_cvd(r: Result): # If we did an english phrase search, we have to inflect back the results! if (search_query.espt or inflect_english_phrases) and ( len(initial_query_terms) > 1 - ): + ) and espt_search: espt_search.inflect_search_results() # Annotate every entry in search results with the POS match when that is available