mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Fix wrongly generated class names
This commit is contained in:
parent
70ae12eb77
commit
9a8bf9d1dc
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue