Skip to content
Snippets Groups Projects
Commit 9492752e authored by dos's avatar dos Committed by dos
Browse files

gr33nhouse: Fix extraction of files larger than 64KB

Fixes #65
parent 8d6b35fb
Branches
Tags
No related merge requests found
......@@ -211,5 +211,6 @@ class DownloadView(BaseView):
print("writing to", filename)
f = t.extractfile(i)
with open(filename, "wb") as of:
of.write(f.read())
while data := f.read():
of.write(data)
self._state = 5
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment