diff --git a/VERSION b/VERSION index c0a1ac1..5546bd2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.6 \ No newline at end of file +0.4.7 \ No newline at end of file diff --git a/lib/models/music_brainz/artist.rb b/lib/models/music_brainz/artist.rb index ef82b32..e827b31 100644 --- a/lib/models/music_brainz/artist.rb +++ b/lib/models/music_brainz/artist.rb @@ -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