Remove debug output in search.py
This commit is contained in:
parent
e764b44da4
commit
d05f2a37fb
@ -186,7 +186,6 @@ class SphinxSearch:
|
|||||||
if abs(results[0]['strong_rank'] - results[1]['strong_rank']) == 0.0:
|
if abs(results[0]['strong_rank'] - results[1]['strong_rank']) == 0.0:
|
||||||
raise FiasException("No matches")
|
raise FiasException("No matches")
|
||||||
else:
|
else:
|
||||||
print results[0]['text'], results[0]['strong_rank']
|
|
||||||
return results[0]
|
return results[0]
|
||||||
|
|
||||||
return results
|
return results
|
||||||
|
Loading…
x
Reference in New Issue
Block a user