Files
romm/backend/utils
Georges-Antoine Assi 144e3adda3 fix(download): restore the zip writer for dev-mode multi-file downloads
The dev-mode in-memory ZIP branch of `get_rom_content` never called the
`zipfile._get_compressor` shim, so `zipfile-inflate64`'s one-arg override
raised a `TypeError` inside `_ZipWriteFile.__init__`. That leaves
`ZipFile._writing` stuck `True`, and `__exit__` masks the real error with
"Can't close the ZIP file while there is an open writing handle on it",
returning a 500 for any multi-file ROM.

The shim is now shared with the endpoint, so it drops its underscore.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-29 09:24:37 -04:00
..
2025-09-04 11:17:00 -03:00
2026-06-21 17:42:25 -04:00
2026-07-26 15:16:56 -04:00
2026-08-01 14:52:55 -04:00
2026-07-20 08:39:34 -04:00
2026-06-28 21:48:50 -04:00
2026-07-06 22:17:56 -04:00
2026-07-19 15:05:51 -04:00