lib/prss/downloader.rb in prss-0.2.1 vs lib/prss/downloader.rb in prss-0.2.2

- old
+ new

@@ -28,10 +28,11 @@ file = output.join(filename) return if file.exist? open(file, 'wb') do |file| - response.read_body(file) + body = response.body + file.write(body) end filename end