summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorSolirs <zcauchemar@gmail.com>2023-03-21 00:41:36 +0100
committerSolirs <zcauchemar@gmail.com>2023-03-21 00:41:36 +0100
commitac169a0f75ee69c50a23837ba734fb5d898b9966 (patch)
tree8ef862e4c64183ba5b9c1bff4d9f8b80a2b84733 /searx
parente26bce33d43ca46ac5bb63980f25c6a6fc85aa27 (diff)
downloadsearxng-ac169a0f75ee69c50a23837ba734fb5d898b9966.tar.gz
searxng-ac169a0f75ee69c50a23837ba734fb5d898b9966.zip
Pass black formatting test
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/wikidata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/wikidata.py b/searx/engines/wikidata.py
index 4fef6c4bb..8d3b0839a 100644
--- a/searx/engines/wikidata.py
+++ b/searx/engines/wikidata.py
@@ -260,7 +260,7 @@ def get_results(attribute_result, attributes, language):
infobox_urls.append({'title': attribute.get_label(language), 'url': url, **attribute.kwargs})
# "normal" results (not infobox) include official website and Wikipedia links.
if attribute.kwargs.get('official') or attribute_type == WDArticle:
- results.append({'title': infobox_title, 'url': url, "content":infobox_content})
+ results.append({'title': infobox_title, 'url': url, "content": infobox_content})
# update the infobox_id with the wikipedia URL
# first the local wikipedia URL, and as fallback the english wikipedia URL
if attribute_type == WDArticle and (