1
0
Fork 0

Aw, i need some sleep

This commit is contained in:
magnolia-fan 2011-09-19 03:47:45 +04:00
parent 36ccd461f3
commit 511c404985
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0.4.6
0.4.7

View File

@ -18,7 +18,7 @@ module MusicBrainz
def self.find mbid
res = MusicBrainz.load('http://musicbrainz.org/ws/2/artist/' + mbid)
return nil if res.nil?
@artist = self.parse_xml(Nokogiri::XML())
@artist = self.parse_xml(Nokogiri::XML(res))
end
def self.parse_xml xml