From fe5d9880cb96f9f3cde2a483c54b0f90a1da322a Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Tue, 2 Apr 2024 16:26:57 +0200 Subject: 👷 Cleanup of `. value` usage for Enum access. 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(-) (limited to 'tidal_dl_ng/helper/path.py') diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py index 53d3290..df56654 100644 --- a/tidal_dl_ng/helper/path.py +++ b/tidal_dl_ng/helper/path.py @@ -236,7 +236,7 @@ def check_file_exists(path_file: str, extension_ignore: bool = False) -> bool: path_files: [str] = [] for extension in AudioExtensions: - path_files.append(str(path_parent.joinpath(path_file_stem + extension.value))) + path_files.append(str(path_parent.joinpath(path_file_stem + extension))) else: path_files: [str] = [path_file] -- cgit v1.3.1