summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2019-11-29 19:55:16 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2019-11-29 19:59:35 +0100
commitb6d9f5aa71de43ff9a46f0d4d94baad429e2275d (patch)
tree22d218f766d97651cc14af931a08e6dec57eeb4e
parent4998e9ec856479d0c619e54f7100c295c7c5851c (diff)
downloadsearxng-b6d9f5aa71de43ff9a46f0d4d94baad429e2275d.tar.gz
searxng-b6d9f5aa71de43ff9a46f0d4d94baad429e2275d.zip
[fix] duckduckgo_definition issues reported by 'manage.sh test'
Fix this error while travis build:: /home/travis/build/asciimoo/searx/searx/engines/duckduckgo_definitions.py:21:44: E225 missing whitespace around operator Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--searx/engines/duckduckgo_definitions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/duckduckgo_definitions.py b/searx/engines/duckduckgo_definitions.py
index 2899b50fb..49def2a2a 100644
--- a/searx/engines/duckduckgo_definitions.py
+++ b/searx/engines/duckduckgo_definitions.py
@@ -18,7 +18,7 @@ from searx.engines.duckduckgo import _fetch_supported_languages, supported_langu
from searx.url_utils import urlencode
from searx.utils import html_to_text, match_language
-logger = logging.getLogger('searx.engines.'+ __name__)
+logger = logging.getLogger('searx.engines.' + __name__)
url = 'https://api.duckduckgo.com/'\
+ '?{query}&format=json&pretty=0&no_redirect=1&d=1'