Skip to content

Commit

Permalink
bug correction
Browse files Browse the repository at this point in the history
nil browser provided by default
  • Loading branch information
zetaben committed Sep 18, 2010
1 parent 8feab41 commit ad51f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opds/entry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def initialize(browser=OPDS::Support::Browser.new)
# @param namespaces Associated document namespaces
# @param browser (see Feed.parse_url)
# @return [Entry]
def self.from_nokogiri(content,namespaces=nil, browser=nil)
def self.from_nokogiri(content,namespaces=nil, browser=OPDS::Support::Browser.new)
z=self.new browser
z.instance_variable_set('@raw_doc',content)
z.instance_variable_set('@namespaces',namespaces)
Expand Down

0 comments on commit ad51f5c

Please sign in to comment.