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
1 changed files with 1 additions and 1 deletions

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