From 08ad73b683525d35a8331a9a5dfa7e3d9c3d32db Mon Sep 17 00:00:00 2001 From: Ricter Z Date: Fri, 16 Mar 2018 23:33:16 +0800 Subject: [PATCH] fix bug #13 --- nhentai/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nhentai/utils.py b/nhentai/utils.py index c7a3437..669baf2 100644 --- a/nhentai/utils.py +++ b/nhentai/utils.py @@ -34,7 +34,7 @@ def generate_html(output_dir='.', doujinshi_obj=None): previous = '' if doujinshi_obj is not None: - doujinshi_dir = os.path.join(output_dir, str(doujinshi_obj.id)) + doujinshi_dir = os.path.join(output_dir, str(doujinshi_obj.name)) else: doujinshi_dir = '.'