diff --git a/src/morphodict/search/runner.py b/src/morphodict/search/runner.py index 14bb152d3..57d351ad8 100644 --- a/src/morphodict/search/runner.py +++ b/src/morphodict/search/runner.py @@ -43,6 +43,7 @@ def search( initial_query_terms = search_query.query_terms[:] # If we need to do english simple phrase search + espt_search = None if (search_query.espt or inflect_english_phrases) and ( len(initial_query_terms) > 1 ):