From 893a8c194e5ac3b0d3cc0284f1a3c00686c56776 Mon Sep 17 00:00:00 2001 From: Alocks Date: Tue, 5 Nov 2019 10:41:20 -0300 Subject: [PATCH] removed list(). stupid mistake --- nhentai/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nhentai/command.py b/nhentai/command.py index e117b85..8009351 100644 --- a/nhentai/command.py +++ b/nhentai/command.py @@ -90,7 +90,7 @@ def main(): doujinshi_list.append(Doujinshi(name_format=options.name_format, **doujinshi_info)) 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: downloader = Downloader(path=options.output_dir, size=options.threads,