Update natsort usage

This commit is contained in:
lordwelch 2020-06-02 20:09:32 -07:00
parent 8b227afbb2
commit 6ab03cc3d3

View File

@ -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 = []