commit ecc510af2618815449058289de15992d1959d3e8
parent 9a96073030739541b4cebe4571e2bdd02aee044b
Author: lostd <lostd@2f30.org>
Date: Mon, 26 Jan 2015 15:51:21 +0200
This is not an API request, don't identify
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'], Headers).read
+ img = open(rel['imgurl']).read
File.open(imgname, 'wb').write img
end
end