lib/callisto/thumbnail.rb in callisto-0.9 vs lib/callisto/thumbnail.rb in callisto-0.9.1

- old
+ new

@@ -23,10 +23,10 @@ def save location = File.join(root_path, prefix) if !File.exist?(save_path) FileUtils.mkdir_p(location) unless File.directory?(location) - task = Shell.new("convert", "#{file_path} -strip -quality #{quality || 90} -resize #{size}#{flag} #{crop} #{save_path}") + task = Shell.new("convert", "#{file_path} -strip -quality #{quality} -resize #{size}#{flag} #{crop} #{save_path}") pid = Callisto::Pool.instance << task Callisto::Pool.instance.wait(pid) end public_path end