Skip to content

Commit

Permalink
Fixed dot processing in directory names
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Nov 10, 2017
1 parent 829a5f2 commit ac81a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kindlecomicconverter/comic2ebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,7 @@ def createNewTome():
def slugify(value, isdir):
if isdir:
value = slugifyExt(value, regex_pattern=r'[^-a-z0-9_\.]+')
value = value.rstrip('.')
else:
value = slugifyExt(value)
value = sub(r'0*([0-9]{4,})', r'\1', sub(r'([0-9]+)', r'0000\1', value, count=2))
Expand Down

0 comments on commit ac81a6b

Please sign in to comment.