Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Found error when compressing directories in windows #157

Closed
mcfriend99 opened this issue Apr 3, 2023 · 0 comments
Closed

Not Found error when compressing directories in windows #157

mcfriend99 opened this issue Apr 3, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mcfriend99
Copy link
Member

Describe the bug

When using the zip module to compress a directory on the Windows OS, paths with names starting in a . such as .git, .gitignore etc causes a file not found error.

To Reproduce

import zip

zip.compress('/my/git/repo', 'dest.zip')

Expected behavior

Correctly compressed zip archive

OS

  • Windows
mcfriend99 added a commit that referenced this issue Apr 3, 2023
@mcfriend99 mcfriend99 added the bug Something isn't working label Apr 3, 2023
@mcfriend99 mcfriend99 self-assigned this Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant