Skip to content

Comments

fix(oac): avoid double output path in zip creation#55

Open
zack314 wants to merge 1 commit intoaigc3d:masterfrom
zack314:master
Open

fix(oac): avoid double output path in zip creation#55
zack314 wants to merge 1 commit intoaigc3d:masterfrom
zack314:master

Conversation

@zack314
Copy link

@zack314 zack314 commented Sep 7, 2025

Fixes this duplicated path bug:

  1. output_zip_path = './output/open_avatar_chat/{base_iid}.zip' (a relative path).
  2. chdir into ./output/open_avatar_chat.
  3. call os.path.abspath(output_zip_path), which now expands to
    /.../output/open_avatar_chat/./output/open_avatar_chat/{base_iid}.zip.

-> So the archive path ends up with the directory twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant