mirror of
https://github.com/Hopiu/xapian-haystack.git
synced 2026-04-29 02:54:50 +00:00
Fixed error on get_terms that caused the last term to end in '\n'.
This commit is contained in:
parent
a9d144290c
commit
f81ba0021c
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ from core.tests.mocks import MockSearchResult
|
|||
|
||||
def get_terms(backend, *args):
|
||||
result = subprocess.check_output(['delve'] + list(args) + [backend.path], env=os.environ.copy())
|
||||
result = result.split(": ")[1]
|
||||
result = result.split(": ")[1].strip()
|
||||
return result.split(" ")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue