fixed typo

pull/2851/head
Raju Komati 2023-04-22 02:52:13 +05:30
parent a8fe3085fd
commit 3bf5934b20
No known key found for this signature in database
GPG Key ID: A581A5D67A8EB090
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def safe_google_results(results: str | list) -> str:
"""
if isinstance(results, list):
safe_message = json.dumps(
[result.enocde("utf-8", "ignore") for result in results]
[result.encode("utf-8", "ignore") for result in results]
)
else:
safe_message = results.encode("utf-8", "ignore").decode("utf-8")