Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b46ef9 commit 65bc20cCopy full SHA for 65bc20c
1 file changed
Lib/distutils/archive_util.py
@@ -93,7 +93,7 @@ def make_zipfile (base_name, base_dir, verbose=0, dry_run=0):
93
94
def visit (z, dirname, names):
95
for name in names:
96
- path = os.path.join (dirname, name)
+ path = os.path.normpath(os.path.join(dirname, name))
97
if os.path.isfile (path):
98
z.write (path, path)
99
0 commit comments