1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-12 17:26:23 +00:00

remove chapter name number expansion.

This commit is contained in:
Alex Xu
2024-02-26 11:29:09 -08:00
committed by GitHub
parent 33cc324381
commit 36b91167c8

View File

@@ -911,7 +911,6 @@ def createNewTome():
def slugify(value):
value = slugify_ext(value, regex_pattern=r'[^-a-z0-9_\.]+').strip('.')
value = sub(r'0*([0-9]{4,})', r'\1', sub(r'([0-9]+)', r'0000\1', value, count=2))
return value