diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-05-06 11:33:10 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 7a73aa10276b0c1151500d26b194336b56af7aba (patch) | |
tree | e267901f73375393cc429c5c17ce661216de111a /src/sdp/source_sisupod.d | |
parent | xmls work particularly with epub output (diff) |
cleaningdoc-reform_v0.0.14
Diffstat (limited to 'src/sdp/source_sisupod.d')
-rw-r--r-- | src/sdp/source_sisupod.d | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/sdp/source_sisupod.d b/src/sdp/source_sisupod.d index 8718074..e5233ba 100644 --- a/src/sdp/source_sisupod.d +++ b/src/sdp/source_sisupod.d @@ -71,7 +71,7 @@ template 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) { @@ -184,8 +184,7 @@ template 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) { @@ -213,8 +212,7 @@ template SiSUpod() { } } } - catch (ErrnoException ex) - { + catch (ErrnoException ex) { // Handle errors } } |