1 parent c648bf5 commit 8bf730fCopy full SHA for 8bf730f
1 file changed
src/azlassets/repair.py
@@ -91,7 +91,7 @@ async def hashrows_from_files(client_directory: Path) -> list[HashRow]:
91
"""
92
assetbasepath = Path(client_directory, "AssetBundles")
93
print("Loading list of all files... ", end="")
94
- filepaths = [fp for fp in assetbasepath.rglob("*") if not fp.is_file()]
+ filepaths = [fp for fp in assetbasepath.rglob("*") if fp.is_file()]
95
tasks = [hashrow_from_file(assetbasepath, fp) for fp in filepaths]
96
print("Done.\nChecking all files...")
97
return await tqdm_asyncio.gather(*tasks, desc="File Progress", unit="files")
0 commit comments