summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/helper/path.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-04-21 17:37:50 +0200
committerRobert Honz <exislow+github@gmail.com>2024-04-21 19:16:13 +0200
commit78670a38ba0536f61b0a94e355369bbe604c9087 (patch)
tree2db326e795537276753fac60ad07d8f18dc65e22 /tidal_dl_ng/helper/path.py
parent67166861e954e8f899374e4b223ffa11926142e2 (diff)
downloadtidal-dl-ng-78670a38ba0536f61b0a94e355369bbe604c9087.tar.gz
👷 Hacky workaround marked with TODO.
Diffstat (limited to 'tidal_dl_ng/helper/path.py')
-rw-r--r--tidal_dl_ng/helper/path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py
index b79d08e..b101b59 100644
--- a/tidal_dl_ng/helper/path.py
+++ b/tidal_dl_ng/helper/path.py
@@ -209,7 +209,7 @@ def path_file_sanitize(path_file: str, adapt: bool = False, uniquify: bool = Fal
# TODO: Implement proper exception handling and logging.
# print(e)
# Hacky stuff, since the sanitizing function does not shorten the filename somehow (bug?)
- # Remove after pathvalidate update.
+ # TODO: Remove after pathvalidate update.
# If filename too long
if e.description.startswith("[PV1101]"):
byte_ct: int = len(filename.encode("utf-8")) - 255