From 78670a38ba0536f61b0a94e355369bbe604c9087 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Sun, 21 Apr 2024 17:37:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Hacky=20workaround=20marked=20wi?= =?UTF-8?q?th=20TODO.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/helper/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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