removed list(). stupid mistake

This commit is contained in:
Alocks 2019-11-05 10:41:20 -03:00 committed by GitHub
parent e6d2eb554d
commit 893a8c194e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ def main():
doujinshi_list.append(Doujinshi(name_format=options.name_format, **doujinshi_info)) doujinshi_list.append(Doujinshi(name_format=options.name_format, **doujinshi_info))
if (i + 1) % 10 == 0: if (i + 1) % 10 == 0:
logger.info('Progress: %d / %d' % (i + 1, len(list(doujinshi_ids)))) logger.info('Progress: %d / %d' % (i + 1, len(doujinshi_ids)))
if not options.is_show: if not options.is_show:
downloader = Downloader(path=options.output_dir, size=options.threads, downloader = Downloader(path=options.output_dir, size=options.threads,