summaryrefslogtreecommitdiff
path: root/searx/engines/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/base.py')
-rwxr-xr-xsearx/engines/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/base.py b/searx/engines/base.py
index 34b735b3c..0114f9798 100755
--- a/searx/engines/base.py
+++ b/searx/engines/base.py
@@ -55,7 +55,7 @@ shorcut_dict = {
def request(query, params):
# replace shortcuts with API advanced search keywords
for key in shorcut_dict.keys():
- query = re.sub(key, shorcut_dict[key], str(query))
+ query = re.sub(key, shorcut_dict[key], query)
# basic search
offset = (params['pageno'] - 1) * number_of_results