Skip to content

Commit 553b7b0

Browse files
committed
Fix canonicalize()
1 parent 104e379 commit 553b7b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/properties_to_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
def canonicalize(s):
7676
"""strips non-letters and lower-cases"""
77-
return re.sub("\\W", "", item["Type"]).lower()
77+
return re.sub("\\W", "", s).lower()
7878

7979
for csv_path in paths:
8080
version = csv_path.stem

0 commit comments

Comments
 (0)