Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

Pass black formatting test

Solirsac169a0f75ee
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 (