mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-04 02:50:55 +01:00 
			
		
		
		
	fix #74
This commit is contained in:
		@@ -168,7 +168,7 @@ def generate_main_html(output_dir='./'):
 | 
			
		||||
def generate_cbz(output_dir='.', doujinshi_obj=None, rm_origin_dir=False):
 | 
			
		||||
    if doujinshi_obj is not None:
 | 
			
		||||
        doujinshi_dir = os.path.join(output_dir, doujinshi_obj.filename)
 | 
			
		||||
        cbz_filename = os.path.join(os.path.join(doujinshi_dir, '..'), '%s.cbz' % doujinshi_obj.id)
 | 
			
		||||
        cbz_filename = os.path.join(os.path.join(doujinshi_dir, '..'), '{}.cbz'.format(doujinshi_obj.filename))
 | 
			
		||||
    else:
 | 
			
		||||
        cbz_filename = './doujinshi.cbz'
 | 
			
		||||
        doujinshi_dir = '.'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user