Skip to content

Commit

Permalink
Update tools/check_encoding.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dom Heinzeller <dom.heinzeller@icloud.com>
  • Loading branch information
grantfirl and climbfuji authored Nov 27, 2023
1 parent b40ee0f commit 1bb4c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check_encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
if not contents.isascii():
for line in contents.split('\n'):
if not line.isascii():
raise Exception('Detected non-ascii characters in file {}, line: "{}"'.format(os.path.join(root, file), line))
raise Exception('Detected non-ascii characters in file {}, line: "{}"'.format(os.path.join(root, file), line))

0 comments on commit 1bb4c9b

Please sign in to comment.