summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/helper/path.py
diff options
context:
space:
mode:
Diffstat (limited to 'tidal_dl_ng/helper/path.py')
-rw-r--r--tidal_dl_ng/helper/path.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py
index 91fe5cf..53d3290 100644
--- a/tidal_dl_ng/helper/path.py
+++ b/tidal_dl_ng/helper/path.py
@@ -1,4 +1,3 @@
-import glob
import math
import os
import re
@@ -241,7 +240,7 @@ def check_file_exists(path_file: str, extension_ignore: bool = False) -> bool:
else:
path_files: [str] = [path_file]
- result = bool(sum([glob.glob(_file) for _file in path_files], []))
+ result = bool(sum([[True] if os.path.isfile(_file) else [] for _file in path_files], []))
return result