mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 03:11:00 +00:00
[typo] solved a typo in yahoo error message.
This commit is contained in:
parent
d4d9f2073e
commit
e509cb7c45
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ def fetch_traits(engine_traits: EngineTraits):
|
||||||
|
|
||||||
resp = network.get('https://search.yahoo.com/preferences/languages')
|
resp = network.get('https://search.yahoo.com/preferences/languages')
|
||||||
if not resp.ok:
|
if not resp.ok:
|
||||||
print("ERROR: response from peertube is not OK.")
|
print("ERROR: response from yahoo is not OK.")
|
||||||
|
|
||||||
dom = html.fromstring(resp.text)
|
dom = html.fromstring(resp.text)
|
||||||
offset = len('lang_')
|
offset = len('lang_')
|
||||||
|
|
Loading…
Reference in a new issue