summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xktlint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ktlint.py b/ktlint.py
index 008721d..16bc0f8 100755
--- a/ktlint.py
+++ b/ktlint.py
@@ -60,7 +60,7 @@ def main(args=None):
stdout, _ = check.communicate()
if stdout:
print('prebuilts/ktlint found errors in files you changed:')
- print(stdout)
+ print(stdout.decode('utf-8'))
print(FORMAT_MESSAGE.format(MAIN_DIRECTORY, ' '.join(kt_files)))
sys.exit(1)
else: