1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-25 01:01:47 +00:00

FIX: when extracting cover for issue details, will now return an ordered list of the files within the archive instead of random order

This commit is contained in:
evilhero 2017-01-10 18:49:11 -05:00
parent cc231a416c
commit 8e217bcf58

View file

@ -1389,7 +1389,7 @@ def IssueDetails(filelocation, IssueID=None):
try:
with zipfile.ZipFile(dstlocation, 'r') as inzipfile:
for infile in inzipfile.namelist():
for infile in sorted(inzipfile.namelist()):
tmp_infile = re.sub("[^0-9]","", infile).strip()
if tmp_infile == '':
pass