diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-03-29 10:19:19 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-03-29 11:17:30 +0100 |
| commit | 58d97afbc274b588b1503df71f20a36a58401ef7 (patch) | |
| tree | 45fccc5834059149675c897393f7ded717d2ed9d | |
| parent | 1a37c008c4304f790523c23912d3905af915d7dc (diff) | |
| download | tidal-dl-ng-58d97afbc274b588b1503df71f20a36a58401ef7.tar.gz | |
✨ Removed deprecated code.
| -rw-r--r-- | tidal_dl_ng/helper/path.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py index 2b739d6..e3ea837 100644 --- a/tidal_dl_ng/helper/path.py +++ b/tidal_dl_ng/helper/path.py @@ -33,32 +33,14 @@ def path_config_base() -> str: def path_file_log() -> str: - # TODO: Remove this soon. Only for migration to new dir. - old = os.path.join(path_home(), ".tidal-dl-ng.log") - if os.path.isfile(old): - os.makedirs(path_config_base(), exist_ok=True) - os.rename(old, os.path.join(path_config_base(), "app.log")) - return os.path.join(path_config_base(), "app.log") def path_file_token() -> str: - # TODO: Remove this soon. Only for migration to new dir. - old = os.path.join(path_home(), ".tidal-dl-ng_token.json") - if os.path.isfile(old): - os.makedirs(path_config_base(), exist_ok=True) - os.rename(old, os.path.join(path_config_base(), "token.json")) - return os.path.join(path_config_base(), "token.json") def path_file_settings() -> str: - # TODO: Remove this soon. Only for migration to new dir. - old = os.path.join(path_home(), ".tidal-dl-ng_settings.json") - if os.path.isfile(old): - os.makedirs(path_config_base(), exist_ok=True) - os.rename(old, os.path.join(path_config_base(), "settings.json")) - return os.path.join(path_config_base(), "settings.json") |
