]> git.lizzy.rs Git - nhentai.git/commitdiff
removed list(). stupid mistake
authorAlocks <alocksmasao@gmail.com>
Tue, 5 Nov 2019 13:41:20 +0000 (10:41 -0300)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2019 13:41:20 +0000 (10:41 -0300)
nhentai/command.py

index e117b85837dc684968d4da6f30653d374b8854d2..800935124adb78a1f6f9f2144e7fcc81ee30060c 100644 (file)
@@ -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,