Skip to content

Commit

Permalink
Mod: Format code with black.
Browse files Browse the repository at this point in the history
  • Loading branch information
Labbeti committed Sep 25, 2023
1 parent f0dd7a4 commit fdd05cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aac_metrics/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ def _download_spice(
download_url_to_file(url, fpath, progress=verbose > 0)

if fname.endswith(".zip"):
parent_target_dpath = osp.join(spice_cache_dpath, DATA_URLS[name]["extract_to"])
parent_target_dpath = osp.join(
spice_cache_dpath, DATA_URLS[name]["extract_to"]
)
os.makedirs(parent_target_dpath, exist_ok=True)
with ZipFile(fpath, "r") as file:
file.extractall(parent_target_dpath)
Expand Down

0 comments on commit fdd05cf

Please sign in to comment.