Skip to content

Commit

Permalink
make target path as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Aug 31, 2021
1 parent a9d93ea commit f1c3cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activitysim/cli/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def copy_asset(asset_path, target_path, dirs_exist_ok=False):


def download_asset(url, target_path, sha256=None):

os.makedirs(os.path.dirname(target_path), exist_ok=True)
if sha256 and os.path.isfile(target_path):
computed_sha256 = sha256_checksum(target_path)
if sha256 == computed_sha256:
Expand Down

0 comments on commit f1c3cfc

Please sign in to comment.