Fix plugin folder

This commit is contained in:
Timmy Welch 2024-09-16 16:52:51 -07:00
parent c9c0c99a2a
commit c50de9bed7

View File

@ -118,8 +118,7 @@ class ComicTaggerPaths(AppDirs):
@property
def user_cache_dir(self) -> pathlib.Path:
if self.path:
path = self.path / "cache"
return path
return self.path / "cache"
return pathlib.Path(super().user_cache_dir)
@property
@ -131,16 +130,14 @@ class ComicTaggerPaths(AppDirs):
@property
def user_log_dir(self) -> pathlib.Path:
if self.path:
path = self.path / "log"
return path
return self.path / "log"
return pathlib.Path(super().user_log_dir)
@property
def user_plugin_dir(self) -> pathlib.Path:
if self.path:
path = self.path / "plugins"
return path
return pathlib.Path(super().user_config_dir)
return self.path / "plugins"
return pathlib.Path(super().user_config_dir) / "plugins"
@property
def site_data_dir(self) -> pathlib.Path: