We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc42bec commit 3bdb728Copy full SHA for 3bdb728
_make_helper.py
@@ -159,7 +159,7 @@ def download_zip_into(url, path):
159
urlretrieve(url, zip_file)
160
print("Extracting", zip_file)
161
with zipfile.ZipFile(zip_file) as zf:
162
- prefix = os.path.commonprefix(zf.namelist())
+ prefix = os.path.commonpath(zf.namelist())
163
for m in zf.infolist():
164
fn = m.filename.removeprefix(prefix).lstrip("/\\")
165
if not fn or fn.endswith(("/", "\\")):
0 commit comments