mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	...
This commit is contained in:
		
							parent
							
								
									9918fb99a8
								
							
						
					
					
						commit
						98b93e36d0
					
				@ -72,7 +72,7 @@ def explode(path, dest, question=lambda x:True):
 | 
				
			|||||||
            dest), no_output=True)['result']
 | 
					            dest), no_output=True)['result']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def set_cover(oeb):
 | 
					def set_cover(oeb):
 | 
				
			||||||
    if 'cover' not in oeb.guide: return
 | 
					    if 'cover' not in oeb.guide or oeb.metadata['cover']: return
 | 
				
			||||||
    cover = oeb.guide['cover']
 | 
					    cover = oeb.guide['cover']
 | 
				
			||||||
    if cover.href in oeb.manifest.hrefs:
 | 
					    if cover.href in oeb.manifest.hrefs:
 | 
				
			||||||
        item = oeb.manifest.hrefs[cover.href]
 | 
					        item = oeb.manifest.hrefs[cover.href]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user