mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-04 02:50:55 +01:00 
			
		
		
		
	fix
This commit is contained in:
		@@ -5,3 +5,4 @@ include nhentai/viewer/styles.css
 | 
			
		||||
include nhentai/viewer/scripts.js
 | 
			
		||||
include nhentai/viewer/main.html
 | 
			
		||||
include nhentai/viewer/main.css
 | 
			
		||||
include nhentai/viewer/main.js
 | 
			
		||||
 
 | 
			
		||||
@@ -24,7 +24,7 @@ def serialize(doujinshi, dir):
 | 
			
		||||
    metadata['URL'] = doujinshi.url
 | 
			
		||||
    metadata['Pages'] = doujinshi.pages
 | 
			
		||||
 | 
			
		||||
    with open(os.path.join(dir, 'metadata.json'), 'w', encoding="raw_unicode_escape") as f:
 | 
			
		||||
    with open(os.path.join(dir, 'metadata.json'), 'w') as f:
 | 
			
		||||
        json.dump(metadata, f, separators=','':')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user