mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 18:12:21 +02:00
[fix] issues reported by pylint 3.1.0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
3bea2e7e3a
commit
50d5a9ff60
4 changed files with 7 additions and 8 deletions
|
@ -97,8 +97,7 @@ def add_currency_label(db, label, iso4217, language):
|
|||
def wikidata_request_result_iterator(request):
|
||||
result = wikidata.send_wikidata_query(request.replace('%LANGUAGES_SPARQL%', LANGUAGES_SPARQL))
|
||||
if result is not None:
|
||||
for r in result['results']['bindings']:
|
||||
yield r
|
||||
yield from result['results']['bindings']
|
||||
|
||||
|
||||
def fetch_db():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue