mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 23:42:07 +01:00
The `tar` decompression function was failing for some users, with error message: ``` 'NoneType' object does not support the context manager protocol ``` As explained in the official documentation [1], the `extractfile` method returns `None` if the member is not a regular file or a link. This change skips any member that is not a regular file. [1] https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractfile