Skip to content

Commit

Permalink
Fix upload issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Jan 9, 2024
1 parent 96165e7 commit 0792846
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def upload_dir(directory, include_img=True):
if not include_img and "/img/" in fpath:
continue
key_name = fpath[len(directory) :]
key_name = key_name.removeprefix("/")
print("> " + fpath)
print(">>>>>> " + key_name)
all_targets.append((BUCKET, fpath, key_name))
Expand Down

0 comments on commit 0792846

Please sign in to comment.