You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Expected behavior
Correctly compressed zip archive
OS
The text was updated successfully, but these errors were encountered: