X-Git-Url: http://jaekl.net/gitweb/?p=quanlib.git;a=blobdiff_plain;f=walkdir.rb;h=6ef98c242de8d285ff8479e65d961b6911cbe7ea;hp=236e3feaf7244852b4b58e780e9fdce456da6fc2;hb=2c6d69af97c152524366d3fefe1808dfb78f8f56;hpb=fcaeedd4d1c128ff84371c0a7db5d0af6751492a diff --git a/walkdir.rb b/walkdir.rb index 236e3fe..6ef98c2 100644 --- a/walkdir.rb +++ b/walkdir.rb @@ -33,7 +33,7 @@ class WalkDir for file in @files.sort if Book.can_handle?(file) && (!is_duplicate?(file)) book = Book.new(@store) - book.load_from_file(file) + book.load_from_file!(file) id = @store.store_book(book) result.push(id) end