summaryrefslogtreecommitdiff
path: root/searx/query.py
diff options
context:
space:
mode:
authorJohannes Schauer <josch@debian.org>2017-11-24 10:58:21 +0100
committerJohannes Schauer <josch@debian.org>2017-11-24 10:58:21 +0100
commit6479b263d1fd25f5db5228e0360966b285dfa8b3 (patch)
tree1917ef9846e45cd386a3f4b77693441063c7dba6 /searx/query.py
parent73ebd8743faa9b30a6a8f3f39261978c5be99479 (diff)
New upstream version 0.13.1+dfsg1
Diffstat (limited to 'searx/query.py')
-rw-r--r--searx/query.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/query.py b/searx/query.py
index 828a6fb..7acdd54 100644
--- a/searx/query.py
+++ b/searx/query.py
@@ -22,7 +22,6 @@ from searx.engines import (
categories, engines, engine_shortcuts
)
import re
-import string
import sys
if sys.version_info[0] == 3:
@@ -143,7 +142,7 @@ class RawTextQuery(object):
def getFullQuery(self):
# get full querry including whitespaces
- return string.join(self.query_parts, '')
+ return u''.join(self.query_parts)
class SearchQuery(object):