[typo] solved a typo in yahoo error message.

This commit is contained in:
Jinyuan Huang 2023-09-30 22:42:02 +00:00 committed by MatthieuBarbu
parent 7de4e3b48f
commit 993ea9c1ec

View File

@ -159,7 +159,7 @@ def fetch_traits(engine_traits: EngineTraits):
resp = network.get('https://search.yahoo.com/preferences/languages')
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)
offset = len('lang_')