aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/xhtml_epub2.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-07-29 19:56:22 -0400
committerRalph Amissah <ralph@amissah.com>2014-07-29 19:56:22 -0400
commit612f856978e9c2439a3f6fb8164bb9029c4102d2 (patch)
tree22052eb76ff571d2be243f567437870ba4c217ea /lib/sisu/v5/xhtml_epub2.rb
parentdebian/changelog (5.5.4-1) (diff)
parentv5 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.rb6
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