[F] Fix local fs search

This commit is contained in:
2026-03-10 16:16:22 -04:00
parent 7be86b2d8f
commit a02ec2101d
+1 -1
View File
@@ -90,7 +90,7 @@ def check_local_filesystem(dl_dir: str, imdb_id: str):
""" """
dl_path = Path(dl_dir) dl_path = Path(dl_dir)
if dl_path.exists(): if dl_path.exists():
for item in dl_path.iterdir(): for item in dl_path.rglob('*'):
if f"[{imdb_id}]" in item.name: if f"[{imdb_id}]" in item.name:
return item return item
return None return None