Skip to content

Commit

Permalink
fix: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Oct 30, 2024
1 parent bc69fcf commit c18d49b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions assets/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,15 +347,13 @@ def get_map_files(map_file: str, roots: List[str]) -> List[Mapping]:


def download_assets(roots: List[str], outdir: str, assets: List[str]):
batch = 100
for i in range(0, (len(assets) // batch) + 1):
sub = assets[i * batch:(i + 1) * batch]
run_sourdump(roots, [
"download",
"--outdir",
outdir,
*sub,
])
print("downloading assets", assets)
run_sourdump(roots, [
"download",
"--outdir",
outdir,
*assets,
])


def hash_assets(roots: List[str], assets: List[str]):
Expand Down

0 comments on commit c18d49b

Please sign in to comment.