Permalink
Browse files

Merge pull request #1 from joseph/entry-instantiation

Instantiate Entry from Parser with correct argument order.
  • Loading branch information...
2 parents 9e211b5 + b1cf2c9 commit 1848efd64a477720f4a0c46a52da93c06c0401be @zetaben committed Dec 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/opds/parser.rb
View
@@ -26,7 +26,7 @@ def parse(content,browser=nil)
case @sniffed_type
when :acquisition then return OPDS::AcquisitionFeed.from_nokogiri(@ret,browser)
when :navigation then return OPDS::NavigationFeed.from_nokogiri(@ret,browser)
- when :entry then return OPDS::Entry.from_nokogiri(@ret,browser)
+ when :entry then return OPDS::Entry.from_nokogiri(@ret,nil,browser)
end
end

0 comments on commit 1848efd

Please sign in to comment.