From cc6c82941543db03bd72f5192f39d1c37f9bbc46 Mon Sep 17 00:00:00 2001 From: lethosor Date: Sun, 5 Sep 2021 22:33:06 -0400 Subject: [PATCH] lint.py: fix --fix UTF-8 issues --- travis/lint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis/lint.py b/travis/lint.py index ef4f6d02d..52716169b 100755 --- a/travis/lint.py +++ b/travis/lint.py @@ -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')