Bugfix
parent
edeb9d7b85
commit
6f14157409
|
@ -10,7 +10,7 @@ module ImageSmith
|
|||
puts "Render #{source}"
|
||||
temp_file = nil
|
||||
if source.start_with?("http") then
|
||||
temp_file = Tempfile.new("img")zzz
|
||||
temp_file = Tempfile.new("img")
|
||||
open(source) do |f|
|
||||
temp_file.write(f.read)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue