mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
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>