Revert a change to the way zip files are extracted.
This commit is contained in:
parent
e685dced84
commit
37ad8a414a
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ class DockerfileBuildWorker(Worker):
|
||||||
|
|
||||||
# Save the zip file to temp somewhere
|
# Save the zip file to temp somewhere
|
||||||
with TemporaryFile() as zip_file:
|
with TemporaryFile() as zip_file:
|
||||||
zip_file.write(request_file.raw)
|
zip_file.write(request_file.content)
|
||||||
to_extract = ZipFile(zip_file)
|
to_extract = ZipFile(zip_file)
|
||||||
to_extract.extractall(build_dir)
|
to_extract.extractall(build_dir)
|
||||||
|
|
||||||
|
|
Reference in a new issue