mirror of
https://github.com/evilhero/mylar
synced 2025-03-09 13:24:53 +00:00
FIX:(#936) Error on Manual post-processing would give an 'IOError: [Errno 9] Bad file descriptor' message
This commit is contained in:
parent
0b9ce0befe
commit
590d838401
1 changed files with 3 additions and 2 deletions
|
@ -97,10 +97,10 @@ def listFiles(dir,watchcomic,Publisher,AlternateSearch=None,manual=None,sarc=Non
|
|||
|
||||
if item == 'cover.jpg' or item == 'cvinfo': continue
|
||||
if not item.lower().endswith(extensions):
|
||||
logger.fdebug('[FILECHECKER] filename not a valid cbr/cbz - ignoring: ' + item)
|
||||
#logger.fdebug('[FILECHECKER] filename not a valid cbr/cbz - ignoring: ' + item)
|
||||
continue
|
||||
|
||||
print item
|
||||
#print item
|
||||
#subname = os.path.join(basedir, item)
|
||||
|
||||
subname = item
|
||||
|
@ -451,6 +451,7 @@ def listFiles(dir,watchcomic,Publisher,AlternateSearch=None,manual=None,sarc=Non
|
|||
if subname[fndit+1].isdigit():
|
||||
subname = re.sub('#','',subname)
|
||||
continue
|
||||
|
||||
while x < subcnt:
|
||||
fndit = subname.find(nono, fndit)
|
||||
#print ("space before check: " + str(subname[fndit-1:fndit]))
|
||||
|
|
Loading…
Add table
Reference in a new issue