diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-09-27 17:01:00 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-09-27 18:32:14 +0200 |
commit | ba8959ad7c18ce4165d29b7a472d845bd96f4735 (patch) | |
tree | 70da2e25a94588348fd5e66890a4a9fceb9e1ff2 /searx/webutils.py | |
parent | 94c4cc126b16d4cd1653c410df63af4bc0a4e998 (diff) | |
download | searxng-ba8959ad7c18ce4165d29b7a472d845bd96f4735.tar.gz searxng-ba8959ad7c18ce4165d29b7a472d845bd96f4735.zip |
[fix] typos / reported by @kianmeng in searx PR-3366
[PR-3366] https://github.com/searx/searx/pull/3366
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/webutils.py')
-rw-r--r-- | searx/webutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |