diff --git a/openlp/core/common/applocation.py b/openlp/core/common/applocation.py index a219e2906..14e6e4577 100644 --- a/openlp/core/common/applocation.py +++ b/openlp/core/common/applocation.py @@ -157,7 +157,7 @@ def _get_os_dir_path(dir_type): return directory return Path('/usr', 'share', 'openlp') if XDG_BASE_AVAILABLE: - if dir_type == AppLocation.DataDir or dir_type == AppLocation.CacheDir: + if dir_type == AppLocation.DataDir: return Path(BaseDirectory.xdg_data_home, 'openlp') elif dir_type == AppLocation.CacheDir: return Path(BaseDirectory.xdg_cache_home, 'openlp')