From ba8959ad7c18ce4165d29b7a472d845bd96f4735 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 27 Sep 2022 17:01:00 +0200 Subject: [fix] typos / reported by @kianmeng in searx PR-3366 [PR-3366] https://github.com/searx/searx/pull/3366 Signed-off-by: Markus Heiser --- searx/webutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/webutils.py') diff --git a/searx/webutils.py b/searx/webutils.py index a5ed27c2c..35f4401d2 100644 --- a/searx/webutils.py +++ b/searx/webutils.py @@ -42,7 +42,7 @@ class UnicodeWriter: # Fetch UTF-8 output from the queue ... data = self.queue.getvalue() data = data.strip('\x00') - # ... and reencode it into the target encoding + # ... and re-encode it into the target encoding data = self.encoder.encode(data) # write to the target stream self.stream.write(data.decode()) -- cgit v1.2.3