diff options
author | Solirs <zcauchemar@gmail.com> | 2023-03-21 00:41:36 +0100 |
---|---|---|
committer | Solirs <zcauchemar@gmail.com> | 2023-03-21 00:41:36 +0100 |
commit | ac169a0f75ee69c50a23837ba734fb5d898b9966 (patch) | |
tree | 8ef862e4c64183ba5b9c1bff4d9f8b80a2b84733 /searx | |
parent | e26bce33d43ca46ac5bb63980f25c6a6fc85aa27 (diff) | |
download | searxng-ac169a0f75ee69c50a23837ba734fb5d898b9966.tar.gz searxng-ac169a0f75ee69c50a23837ba734fb5d898b9966.zip |
Pass black formatting test
Diffstat (limited to 'searx')
-rw-r--r-- | searx/engines/wikidata.py | 2 |
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 ( |