diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-07-29 19:56:22 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-07-29 19:56:22 -0400 |
commit | 612f856978e9c2439a3f6fb8164bb9029c4102d2 (patch) | |
tree | 22052eb76ff571d2be243f567437870ba4c217ea /lib/sisu/v5/xhtml_epub2.rb | |
parent | debian/changelog (5.5.4-1) (diff) | |
parent | v5 v6: ensure reset of parsed document directory path (diff) |
Merge tag 'sisu_5.5.5' into debian/sid
SiSU 5.5.5
Diffstat (limited to 'lib/sisu/v5/xhtml_epub2.rb')
-rw-r--r-- | lib/sisu/v5/xhtml_epub2.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sisu/v5/xhtml_epub2.rb b/lib/sisu/v5/xhtml_epub2.rb index 5f43a9d1..d0b4a7dc 100644 --- a/lib/sisu/v5/xhtml_epub2.rb +++ b/lib/sisu/v5/xhtml_epub2.rb @@ -84,7 +84,11 @@ module SiSU_XHTML_EPUB2 @particulars=SiSU_Particulars::CombinedSingleton.instance.get_all(opt) end def read - songsheet + begin + songsheet + ensure + Dir.chdir(@opt.f_pth[:pth]) + end end def songsheet begin |