summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/helper/path.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2025-03-24 09:01:49 +0100
committerRobert Honz <exislow+github@gmail.com>2025-03-24 09:01:49 +0100
commitb50e3bd14d8912e028257dfa36ff64e3e1908987 (patch)
tree4e4741dc46ac01f38c7dc399529148c77535f55c /tidal_dl_ng/helper/path.py
parent1c4e669df8cf35a0cc5df7f0d8949dba0bddc94f (diff)
downloadtidal-dl-ng-b50e3bd14d8912e028257dfa36ff64e3e1908987.tar.gz
👷 Code style.
Diffstat (limited to 'tidal_dl_ng/helper/path.py')
-rw-r--r--tidal_dl_ng/helper/path.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py
index f138208..05ec547 100644
--- a/tidal_dl_ng/helper/path.py
+++ b/tidal_dl_ng/helper/path.py
@@ -277,8 +277,7 @@ def path_file_uniquify(path_file: pathlib.Path) -> pathlib.Path:
# For most OS filename has a character limit of 255.
path_file = (
path_file.parent / (str(path_file.stem)[: -len(file_suffix)] + file_suffix)
- if len(str(path_file.parent / (path_file.stem + unique_suffix)))
- > FILENAME_LENGTH_MAX
+ if len(str(path_file.parent / (path_file.stem + unique_suffix))) > FILENAME_LENGTH_MAX
else path_file.parent / (path_file.stem + unique_suffix)
)