Skip to content

Commit

Permalink
Merge pull request #138 from agimus-project/ex-zip
Browse files Browse the repository at this point in the history
unzip examples
  • Loading branch information
MedericFourmy authored Feb 21, 2024
2 parents 06cfd35 + 75c136d commit 67d74ce
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions happypose/toolbox/utils/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,9 @@ async def main():
)
if args.examples:
for example in args.examples:
to_dl.append(
(
f"examples/{example}",
LOCAL_DATA_DIR / "examples",
)
to_dl.append((f"examples/{example}.zip", DOWNLOAD_DIR))
to_unzip.append(
(DOWNLOAD_DIR / f"{example}.zip", LOCAL_DATA_DIR / "examples")
)

# logger.info(f"{to_dl=}")
Expand Down

0 comments on commit 67d74ce

Please sign in to comment.