mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
small fix
This commit is contained in:
parent
f78b8bc2cd
commit
2d327359aa
@ -119,7 +119,7 @@ def generate_main_html(output_dir='.'):
|
|||||||
image = files[0] # 001.jpg or 001.png
|
image = files[0] # 001.jpg or 001.png
|
||||||
if folder is not None:
|
if folder is not None:
|
||||||
title = folder.replace('_', ' ')
|
title = folder.replace('_', ' ')
|
||||||
if sys.version_info < (3, 0):
|
if sys.version_info > (3, 0):
|
||||||
title = title.encode('utf-8')
|
title = title.encode('utf-8')
|
||||||
else:
|
else:
|
||||||
title = 'nHentai HTML Viewer'
|
title = 'nHentai HTML Viewer'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user