Skip to content

Commit ce33590

Browse files
committed
remove unused methods
1 parent 9444ace commit ce33590

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

pyrekordbox/config.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,6 @@ class InvalidApplicationDirname(Exception):
3636
pass
3737

3838

39-
def get_appdata_dir() -> Path:
40-
"""Returns the path of the application data directory.
41-
42-
On Windows, the application data is stored in `/Users/user/AppData/Roaming`.
43-
On macOS the application data is stored in `~/Libary/Application Support`.
44-
"""
45-
if sys.platform == "win32":
46-
# Windows: located in /Users/user/AppData/Roaming/
47-
app_data = Path(os.environ["AppData"])
48-
elif sys.platform == "darwin":
49-
# MacOS: located in ~/Library/Application Support/
50-
app_data = Path("~").expanduser() / "Library" / "Application Support"
51-
else:
52-
# Linux: not supported
53-
logger.warning(f"OS {sys.platform} not supported!")
54-
return Path("~").expanduser() / ".local" / "share"
55-
return app_data
56-
57-
5839
def get_pioneer_install_dir(path: Union[str, Path] = None) -> Path: # pragma: no cover
5940
"""Returns the path of the Pioneer program installation directory.
6041

0 commit comments

Comments
 (0)