Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit d9494283 authored by Alexandre Flament's avatar Alexandre Flament Committed by GitHub
Browse files

Merge pull request #2353 from dalf/fix-wikidata

[fix] wikidata: fix crash when the item has no description at all and…
parents f56e78ee bef2f2ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ def get_results(attribute_result, attributes, language):
    infobox_id_lang = None
    infobox_urls = []
    infobox_attributes = []
    infobox_content = attribute_result.get('itemDescription')
    infobox_content = attribute_result.get('itemDescription', [])
    img_src = None
    img_src_priority = 100