Skip to content

Commit

Permalink
修复中文搜索不出来的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrun13 committed Feb 19, 2016
1 parent 7284873 commit d4598a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def _find_by_query(self, query, start, limit):
"""
#TODO: FIXME: how to search in the content of entries
"""
queries = [q.lower() for q in query.split(' ')]
queries = [q.decode('utf-8') for q in query.split(' ')]
urls = []
for query in queries:
for entry in self.entries.values():
Expand Down

0 comments on commit d4598a8

Please sign in to comment.