mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
minor update for scripts/gen_contents
This commit is contained in:
parent
a977a508d2
commit
83c99f1edf
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ levels = {
|
|||
}
|
||||
|
||||
def to_id(t):
|
||||
return t.lower().replace(' ', '-').replace('`', '')
|
||||
return re.sub(r'[`(),]', '', t).lower().replace(' ', '-')
|
||||
|
||||
def to_text(t):
|
||||
return t.replace('`', '')
|
||||
|
|
Loading…
Add table
Reference in a new issue