mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 13:36:54 +00:00
- Fixes encoding issues.
This commit is contained in:
parent
6df26ffd57
commit
165ebad93f
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ class BaseFormatter(object):
|
|||
if self.output_fd is not None:
|
||||
self.output_fd.write(output + self.newline)
|
||||
if self.output_fd is None or self.options.tee:
|
||||
print(output)
|
||||
print(output.encode('utf-8'))
|
||||
|
||||
def write(self, line, source):
|
||||
"""Write the line either to the output file or stdout.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue