mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-11-04 01:03:02 +00:00 
			
		
		
		
	Fix #187
This commit is contained in:
		@@ -80,7 +80,7 @@ def make_mobi(book_id, calibrepath):
 | 
			
		||||
 | 
			
		||||
    file_path = os.path.join(calibrepath, book.path, data.name)
 | 
			
		||||
    if os.path.exists(file_path + u".epub"):
 | 
			
		||||
        p = subprocess.Popen((kindlegen + " \"" + file_path + u".epub\" ").encode(sys.getfilesystemencoding()),
 | 
			
		||||
        p = subprocess.Popen((kindlegen + " \"" + file_path + u".epub\"").encode(sys.getfilesystemencoding()),
 | 
			
		||||
                             stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 | 
			
		||||
        # Poll process for new output until finished
 | 
			
		||||
        while True:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user