Skip to content

Commit 8bf730f

Browse files
committed
refactor: fix bug from earlier refactor
1 parent c648bf5 commit 8bf730f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/azlassets/repair.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async def hashrows_from_files(client_directory: Path) -> list[HashRow]:
9191
"""
9292
assetbasepath = Path(client_directory, "AssetBundles")
9393
print("Loading list of all files... ", end="")
94-
filepaths = [fp for fp in assetbasepath.rglob("*") if not fp.is_file()]
94+
filepaths = [fp for fp in assetbasepath.rglob("*") if fp.is_file()]
9595
tasks = [hashrow_from_file(assetbasepath, fp) for fp in filepaths]
9696
print("Done.\nChecking all files...")
9797
return await tqdm_asyncio.gather(*tasks, desc="File Progress", unit="files")

0 commit comments

Comments
 (0)