Commit 4645c50a authored by Riegel's avatar Riegel
Browse files

Fix: Skip export of compressed Archive entries

2 merge requests!28Version 3.17.0 Release,!26Add ZIP-archive support
Showing with 1 addition and 1 deletion
+1 -1
...@@ -30,7 +30,7 @@ public class ArchivePacker { ...@@ -30,7 +30,7 @@ public class ArchivePacker {
tmpDir = Files.createTempDirectory("zipTmp"); tmpDir = Files.createTempDirectory("zipTmp");
tmpDir.toFile().deleteOnExit(); tmpDir.toFile().deleteOnExit();
for (CityGmlZipEntry entry : archive.getEntries()) { for (CityGmlZipEntry entry : archive.getEntries()) {
if (entry.getErrorType() != null){ if (entry.getErrorType() != null || !entry.isDecompressed()) {
continue; continue;
} }
CityDoctorModel model = entry.getModel(); CityDoctorModel model = entry.getModel();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment