[755] do not fail the whole process

This commit is contained in:
Mort Yao 2016-03-18 01:20:58 +01:00
parent c9223acd11
commit 9f9944301c

View File

@ -35,6 +35,7 @@ def nanagogo_download(url, output_dir='.', merge=True, info_only=False, **kwargs
'size': size})
size = sum([i['size'] for i in items])
if size == 0: return # do not fail the whole process
print_info(site_info, title, ext, size)
if not info_only:
for i in items: