FIX: actually optimize the image!

This commit is contained in:
Régis Hanol
2015-04-03 11:22:48 +02:00
parent 0f9a22b572
commit d845dd2225
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ class LetterAvatar
`convert #{instructions.join(" ")}`
ImageOptim.new.optimize_image(filename) rescue nil
ImageOptim.new.optimize_image!(filename) rescue nil
filename
end