lint.py: fix --fix UTF-8 issues

develop
lethosor 2021-09-05 22:33:06 -04:00
parent de241b47cc
commit cc6c829415
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 1 additions and 1 deletions

@ -143,7 +143,7 @@ def main():
linter.fix(lines)
contents = '\n'.join(lines)
with open(full_path, 'wb') as f:
f.write(contents)
f.write(contents.encode('utf-8'))
if success:
print('All linters completed successfully')