mirror of
https://github.com/evilhero/mylar
synced 2024-12-21 23:32:23 +00:00
FIX: return empty comic list instead of crashing
Thanks @LordJay23 and @DarkSir23 :)
This commit is contained in:
parent
63e6399dd4
commit
7e8025c5f6
1 changed files with 3 additions and 1 deletions
|
@ -208,7 +208,9 @@ class FileChecker(object):
|
|||
watchmatch['comiccount'] = comiccnt
|
||||
if len(comiclist) > 0:
|
||||
watchmatch['comiclist'] = comiclist
|
||||
|
||||
else:
|
||||
watchmatch['comiclist'] = []
|
||||
|
||||
if len(self.failed_files) > 0:
|
||||
logger.info('FAILED FILES: %s' % self.failed_files)
|
||||
|
||||
|
|
Loading…
Reference in a new issue