aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_sisupod.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/output_sisupod.org')
-rw-r--r--org/output_sisupod.org8
1 files changed, 3 insertions, 5 deletions
diff --git a/org/output_sisupod.org b/org/output_sisupod.org
index 5471a6a..e161f54 100644
--- a/org/output_sisupod.org
+++ b/org/output_sisupod.org
@@ -124,7 +124,7 @@ debug(sisupod) {
doc_matters.source_filename,
));
}
-auto zip = new ZipArchive(); // ZipArchive zip = new ZipArchive();
+auto zip = new ZipArchive();
auto fn_sisupod = pth_sisupod.sisupod_filename(doc_matters.source_filename);
{ /+ bundle images +/
foreach (image; doc_matters.image_list) {
@@ -243,8 +243,7 @@ if (exists(fn_sisupod)) {
auto zipped = new ZipArchive((fn_sisupod).read);
foreach (filename, member; zipped.directory) {
auto data = zipped.expand(member);
- writeln("> ", filename, " length ", data.length); // filename == member.name
- // Use data
+ writeln("> ", filename, " length ", data.length);
}
}
catch (ZipException ex) {
@@ -272,8 +271,7 @@ if (exists(fn_sisupod)) {
}
}
}
- catch (ErrnoException ex)
- {
+ catch (ErrnoException ex) {
// Handle errors
}
}