diff --git a/src/calibre/constants.py b/src/calibre/constants.py index f7aab6454a..857687120b 100644 --- a/src/calibre/constants.py +++ b/src/calibre/constants.py @@ -146,7 +146,7 @@ def _get_cache_dir(): def cache_dir(): ans = getattr(cache_dir, 'ans', None) if ans is None: - ans = cache_dir.ans = _get_cache_dir() + ans = cache_dir.ans = os.path.realpath(_get_cache_dir()) return ans