summaryrefslogtreecommitdiff
path: root/searx/engines/duckduckgo.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2019-10-14 15:09:39 +0200
committerAdam Tauber <asciimoo@gmail.com>2019-10-14 15:09:39 +0200
commited1c1bdb047f9fe93026739b9dc074393e5c1d46 (patch)
tree23311ee811e9c548b0c663c3a5a030538a6fd615 /searx/engines/duckduckgo.py
parente74bdf84296a4173dd625e25b699196e87db8ac8 (diff)
downloadsearxng-ed1c1bdb047f9fe93026739b9dc074393e5c1d46.tar.gz
searxng-ed1c1bdb047f9fe93026739b9dc074393e5c1d46.zip
[fix] pep8
Diffstat (limited to 'searx/engines/duckduckgo.py')
-rw-r--r--searx/engines/duckduckgo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py
index 4c93380f6..e77ef0126 100644
--- a/searx/engines/duckduckgo.py
+++ b/searx/engines/duckduckgo.py
@@ -106,7 +106,7 @@ def response(resp):
doc = fromstring(resp.text)
# parse results
- for i,r in enumerate(doc.xpath(result_xpath)):
+ for i, r in enumerate(doc.xpath(result_xpath)):
if i >= 30:
break
try: