summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/helper/path.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-04-02 16:26:57 +0200
committerRobert Honz <exislow+github@gmail.com>2024-04-02 16:26:57 +0200
commitfe5d9880cb96f9f3cde2a483c54b0f90a1da322a (patch)
treeab45ee418f30ae8f140a6357792c61f3dbf8b0c6 /tidal_dl_ng/helper/path.py
parent007900eafeea8215c041e9d47d9bd9af4cf5812b (diff)
downloadtidal-dl-ng-fe5d9880cb96f9f3cde2a483c54b0f90a1da322a.tar.gz
👷 Cleanup of `. value` usage for Enum access.
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 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]