mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2025-01-24 08:14:31 +06:00
erdr2pml 0.12
This commit is contained in:
parent
581c7d4829
commit
d35dd536c7
@ -50,8 +50,9 @@
|
|||||||
# 0.09 - fixed typos in first_pages to first_page to again support older formats
|
# 0.09 - fixed typos in first_pages to first_page to again support older formats
|
||||||
# 0.10 - minor cleanups
|
# 0.10 - minor cleanups
|
||||||
# 0.11 - fixups for using correct xml for footnotes and sidebars for use with Dropbook
|
# 0.11 - fixups for using correct xml for footnotes and sidebars for use with Dropbook
|
||||||
|
# 0.12 - fixup for file name cleaning - no longer converts to lower case
|
||||||
|
|
||||||
__version__='0.11'
|
__version__='0.12'
|
||||||
|
|
||||||
# Import Psyco if available
|
# Import Psyco if available
|
||||||
try:
|
try:
|
||||||
@ -324,8 +325,8 @@ class Sectionizer(object):
|
|||||||
|
|
||||||
def sanitizeFileName(s):
|
def sanitizeFileName(s):
|
||||||
r = ''
|
r = ''
|
||||||
for c in s.lower():
|
for c in s:
|
||||||
if c in "abcdefghijklmnopqrstuvwxyz0123456789_.-":
|
if c in "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-":
|
||||||
r += c
|
r += c
|
||||||
return r
|
return r
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user