diff options
| author | Mohamed Elashri <muhammadelashri@gmail.com> | 2022-09-30 23:06:54 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-30 23:06:54 +0000 |
| commit | 8d5653e60d5299979c0de5e55b1c5ca0bee8190c (patch) | |
| tree | 8dc02b7663a5c9c91b09483e4499a612d9823698 /searx/webutils.py | |
| parent | 212c98c9f55dc602f57b4f01a73192450e9782b7 (diff) | |
| parent | 62324655ff0d2e6f234b3e31413877b4b4a7a9fa (diff) | |
Merge branch 'searxng:master' into master
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()) |