Skip to content

Commit

Permalink
Fix cos utils
Browse files Browse the repository at this point in the history
Signed-off-by: Benedikt Blumenstiel <[email protected]>
  • Loading branch information
blumenstiel committed Jul 8, 2024
1 parent d33bcef commit c90ca89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component-library/util/util-cos.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def print_list(l):
for name in tqdm.tqdm(files, desc=root):
file = os.path.join(root, name)
logging.debug(f'processing {file}')
cos_file = os.path.join(bucket_name, cos_path,
cos_file = os.path.join(cos_path,
os.path.relpath(root, local_path), name).replace('/./', '/')
if operation == 'sync_to_cos' and s3.exists(cos_file):
logging.debug(f'exists {cos_file}')
Expand Down

0 comments on commit c90ca89

Please sign in to comment.