Remove test.zip generation

This commit is contained in:
Leo Vasanko 2023-11-12 19:40:05 +00:00
parent 88aca511e7
commit 0be72827db

View File

@ -239,9 +239,7 @@ async def zip_download(req, keys, zipfile, ext):
def worker():
try:
with open("test2.zip", "wb") as f:
for chunk in stream_zip(local_files(files)):
f.write(chunk)
asyncio.run_coroutine_threadsafe(queue.put(chunk), loop).result()
except Exception:
logging.exception("Error streaming ZIP")