mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-04 02:50:55 +01:00 
			
		
		
		
	small fix
This commit is contained in:
		@@ -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'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user