]> git.lizzy.rs Git - nhentai.git/blobdiff - nhentai/cmdline.py
add minimal viewer, fix not using config's template on --html only option
[nhentai.git] / nhentai / cmdline.py
index 3085f2aa8c6b23db90447f0728fbf59250714d64..6c39ceba133eb1fe360f6c239285b494f70c636c 100644 (file)
@@ -131,7 +131,7 @@ def cmd_parser():
     args, _ = parser.parse_args(sys.argv[1:])
 
     if args.html_viewer:
-        generate_html()
+        generate_html(template=constant.CONFIG['template'])
         exit(0)
 
     if args.main_viewer and not args.id and not args.keyword and not args.favorites: