Fix wrongly generated class names
This commit is contained in:
parent
70ae12eb77
commit
9a8bf9d1dc
@ -96,6 +96,7 @@ def start():
|
||||
|
||||
sub_class = caml(re.sub(r"_X", "_", error_id))
|
||||
sub_class = re.sub(r"^2", "Two", sub_class)
|
||||
sub_class = re.sub(r" ", "", sub_class)
|
||||
|
||||
f_all.write(" \"{}\": \"{}\",\n".format(error_id, sub_class))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user