mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-06-30 23:49:28 +02:00
fix bug #13
This commit is contained in:
@ -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 = '.'
|
||||
|
||||
|
Reference in New Issue
Block a user