mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	Backward compat for some plugins
This commit is contained in:
		
							parent
							
								
									e574d65eae
								
							
						
					
					
						commit
						fd12f8ccd3
					
				@ -11,6 +11,7 @@ from calibre.constants import __appname__, filesystem_encoding, get_windows_temp
 | 
				
			|||||||
from calibre.utils.safe_atexit import remove_dir, remove_file_atexit, remove_folder_atexit, unlink
 | 
					from calibre.utils.safe_atexit import remove_dir, remove_file_atexit, remove_folder_atexit, unlink
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_base_dir = _osx_cache_dir = None
 | 
					_base_dir = _osx_cache_dir = None
 | 
				
			||||||
 | 
					cleanup = unlink  # some plugins import this function
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def osx_cache_dir():
 | 
					def osx_cache_dir():
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user