Skip to content

Commit

Permalink
fix: decode bytes to a string
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez authored Sep 30, 2021
1 parent 8cff88d commit 96924e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/shellcheck-to-junit
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def output_junit(files, args):
content = ElementTree.tostring(root, encoding='UTF-8', method='xml')
if args.output:
with open(args.output, 'w') as f:
f.write(content)
f.write(content.decode("utf-8"))


def main():
Expand Down

0 comments on commit 96924e5

Please sign in to comment.