mirror of
https://github.com/evilhero/mylar
synced 2024-12-24 16:51:42 +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:
parent
cc231a416c
commit
8e217bcf58
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue