diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-01-12 08:15:54 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-01-12 08:15:54 +0100 |
| commit | a99c42ad02871658111bb6ce4ef89620e18215e1 (patch) | |
| tree | fc9ce1a02a8ec57c4053adefe6b536b6e26e3158 /tidal_dl_ng/helper/path.py | |
| parent | 1f89ce42794bda0c88dc30843e64e7b090e78221 (diff) | |
| download | tidal-dl-ng-a99c42ad02871658111bb6ce4ef89620e18215e1.tar.gz | |
♻️ Ruff reformatting.
Diffstat (limited to 'tidal_dl_ng/helper/path.py')
| -rw-r--r-- | tidal_dl_ng/helper/path.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py index c5bf988..f354dec 100644 --- a/tidal_dl_ng/helper/path.py +++ b/tidal_dl_ng/helper/path.py @@ -6,7 +6,7 @@ from collections.abc import Callable from pathlib import Path from pathvalidate import sanitize_filename -from tidalapi import Album, Playlist, Track, UserPlaylist, Video, Mix +from tidalapi import Album, Mix, Playlist, Track, UserPlaylist, Video def path_base(): @@ -128,7 +128,7 @@ def length_max_name_file() -> int: try: if system in ['Darwin', 'Linux']: result: int = os.pathconf('/', 'PC_NAME_MAX') - except Exception as e: + except Exception: pass return result @@ -141,7 +141,7 @@ def length_max_name_path() -> int: try: if system in ['Darwin', 'Linux']: result: int = os.pathconf('/', 'PC_PATH_MAX') - except Exception as e: + except Exception: pass return result |
