Backward compat for some plugins

This commit is contained in:
Kovid Goyal 2025-03-28 11:57:42 +05:30
parent e574d65eae
commit fd12f8ccd3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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
_base_dir = _osx_cache_dir = None
cleanup = unlink # some plugins import this function
def osx_cache_dir():