Code cleanup

This commit is contained in:
Ciro Mattia Gonano committed 2013-03-05 11:27:50 +01:00
1 parent 2ef148908a
commit 1a9db245bf
3 files changed
+19 -25

No files matched your search

-6
View File
@@ -36,12 +36,6 @@ import cbxarchive
import pdfjpgextract
def sort_nicely(l):
convert = lambda text: int(text) if text.isdigit() else text
alphanum_key = lambda key: [convert(c) for c in re.split('([0-9]+)', key)]
l.sort(key=alphanum_key)
def buildHTML(path, imgfile):
filename = getImageFileName(imgfile)
if filename is not None: