summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2017-11-23 17:40:26 +0100
committerAdam Tauber <asciimoo@gmail.com>2017-11-23 17:40:26 +0100
commitfe6e87a5a48136e7dc4567cde60826cd155eeb4f (patch)
tree67ba7c1734f577b8f0d183f90d5ea7f1444b426c /searx
parent27e95846ead37b0af6f514246e9784e33d1c373c (diff)
downloadsearxng-fe6e87a5a48136e7dc4567cde60826cd155eeb4f.tar.gz
searxng-fe6e87a5a48136e7dc4567cde60826cd155eeb4f.zip
[fix] replace obsolete string.join function
Diffstat (limited to 'searx')
-rw-r--r--searx/query.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/query.py b/searx/query.py
index 828a6fb30..7acdd543d 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):