Update natsort usage
This commit is contained in:
parent
8b227afbb2
commit
6ab03cc3d3
@ -28,7 +28,7 @@ import io
|
||||
#import locale
|
||||
#import shutil
|
||||
|
||||
from natsort import natsorted
|
||||
import natsort
|
||||
# from PyPDF2 import PdfFileReader
|
||||
try:
|
||||
from unrar import rarfile
|
||||
@ -915,7 +915,7 @@ class ComicArchive:
|
||||
# k = os.path.join(os.path.split(k)[0], "z" + basename)
|
||||
return k.lower()
|
||||
|
||||
files = natsorted(files, key=keyfunc)
|
||||
files = natsort.natsorted(files, alg=natsort.ns.IC | natsort.ns.I)
|
||||
|
||||
# make a sub-list of image files
|
||||
self.page_list = []
|
||||
|
Loading…
Reference in New Issue
Block a user