diff options
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 |