Skip to content

Commit

Permalink
Instantiate Entry from Parser with correct argument order.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph committed Dec 23, 2011
1 parent 9e211b5 commit b1cf2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opds/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b1cf2c9

Please sign in to comment.