Change to stored on server
Browse files- API/app.py +1 -1
API/app.py
CHANGED
|
@@ -209,7 +209,7 @@ async def pixif_zip(items: PixifZipModel, background_tasks: BackgroundTasks):
|
|
| 209 |
full_url = url if url.startswith("http") else img_base + url
|
| 210 |
tasks.append(asyncio.create_task(fetch_image_bytes(session, full_url, post_id, semaphore)))
|
| 211 |
|
| 212 |
-
with zipfile.ZipFile(tmp_path, "w", compression=zipfile.
|
| 213 |
for task in asyncio.as_completed(tasks):
|
| 214 |
try:
|
| 215 |
post_id, data = await task
|
|
|
|
| 209 |
full_url = url if url.startswith("http") else img_base + url
|
| 210 |
tasks.append(asyncio.create_task(fetch_image_bytes(session, full_url, post_id, semaphore)))
|
| 211 |
|
| 212 |
+
with zipfile.ZipFile(tmp_path, "w", compression=zipfile.ZIP_STORED) as zf:
|
| 213 |
for task in asyncio.as_completed(tasks):
|
| 214 |
try:
|
| 215 |
post_id, data = await task
|