Skip to content

Commit

Permalink
Ensure that csrankings-X always has an ASCII value
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-tau committed Jul 7, 2024
1 parent a5ff92e commit 19d50c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validate_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def process():
# Check if we are processing a `csrankings-?.csv` file.
matched = re.match('csrankings-([a-z0])\\.csv', file)
if matched:
the_letter = matched.groups(0)[0]
the_letter = unidecode.unidecode(matched.groups(0)[0]) # Convert to ASCII
for l in changed_lines[file]:
line_valid = True
remaining_diffs -= 1
Expand Down

0 comments on commit 19d50c6

Please sign in to comment.