Skip to content

Commit

Permalink
force report digest output as utf-8
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Martin <[email protected]>
  • Loading branch information
jmartin-tech committed Apr 23, 2024
1 parent d68b3b6 commit cb9d769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garak/analyze/report_digest.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,4 @@ def compile_digest(report_path, taxonomy=_config.reporting.taxonomy):
if len(sys.argv) == 3:
taxonomy = sys.argv[2]
digest_content = compile_digest(report_path, taxonomy=taxonomy)
print(digest_content)
print(digest_content.encode("utf-8"))

0 comments on commit cb9d769

Please sign in to comment.