mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix bug
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ class SystemUtils:
|
|||||||
|
|
||||||
# 遍历目录及子目录
|
# 遍历目录及子目录
|
||||||
for path in directory.glob('**/*'):
|
for path in directory.glob('**/*'):
|
||||||
if path.is_file() and re.match(pattern, str(path), re.IGNORECASE):
|
if path.is_file() and re.match(pattern, path.name, re.IGNORECASE):
|
||||||
files.append(path)
|
files.append(path)
|
||||||
|
|
||||||
return files
|
return files
|
||||||
|
|||||||
Reference in New Issue
Block a user