From 191d72554c720e8a20721ed6db6923ce19a858bd Mon Sep 17 00:00:00 2001 From: "Andrew W. Buchanan" Date: Mon, 14 Mar 2022 13:27:03 -0400 Subject: [PATCH] Explicitly specify unsigned integer sort to fix comic page order --- comicapi/comicarchive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comicapi/comicarchive.py b/comicapi/comicarchive.py index f5b654a..4c73e21 100644 --- a/comicapi/comicarchive.py +++ b/comicapi/comicarchive.py @@ -786,7 +786,7 @@ class ComicArchive: def keyfunc(k): return k.lower() - files = natsort.natsorted(files, alg=natsort.ns.IC | natsort.ns.I) + files = natsort.natsorted(files, alg=natsort.ns.IC | natsort.ns.I | natsort.ns.U) # make a sub-list of image files self.page_list = []