mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-09-30 01:07:24 +13:00
33ac127173
While tackling issue #529, I stumbled across the odd behaviour that re-compressing the archive with 7-Zip broke what should be a valid Manuskript project. After investigation it turned out that the code that loads the texts sensibly expects there to only be files tracked in the files dictionary. It is completely valid for a zip file to contain entries describing the contained directories. The logical fix is to simply avoid adding these directory entries to our files dictionary in the first place. |
||
---|---|---|
.. | ||
__init__.py | ||
version_0.py | ||
version_1.py |