diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-04-21 17:37:50 +0200 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-04-21 19:16:13 +0200 |
| commit | 78670a38ba0536f61b0a94e355369bbe604c9087 (patch) | |
| tree | 2db326e795537276753fac60ad07d8f18dc65e22 /tidal_dl_ng/helper/path.py | |
| parent | 67166861e954e8f899374e4b223ffa11926142e2 (diff) | |
| download | tidal-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.py | 2 |
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 |
