commit: fe6e87a5a48136e7dc4567cde60826cd155eeb4f
parent: 27e95846ead37b0af6f514246e9784e33d1c373c
Author: Adam Tauber <asciimoo@gmail.com>
Date: Thu, 23 Nov 2017 17:40:26 +0100
[fix] replace obsolete string.join function
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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):