commit 3836e0ca36dd7eb349ec01d3ada3eb299e618baf
parent ecc510af2618815449058289de15992d1959d3e8
Author: lostd <lostd@2f30.org>
Date: Mon, 26 Jan 2015 16:30:39 +0200
Revert "This is not an API request, don't identify"
This reverts commit ecc510af2618815449058289de15992d1959d3e8.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/musicfix b/bin/musicfix
@@ -443,7 +443,7 @@ imgname = eval cfg['image']
if rel['imgurl'] then
STDERR.puts "Save image to #{imgname}"
unless fake
- img = open(rel['imgurl']).read
+ img = open(rel['imgurl'], Headers).read
File.open(imgname, 'wb').write img
end
end