Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Update geometry_detector_factory.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
aboutqx authored and mike-burns committed May 25, 2018
1 parent 993b0b1 commit ddc42e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paperclip/geometry_detector_factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def geometry_string
orientation = Paperclip.options[:use_exif_orientation] ?
"%[exif:orientation]" : "1"
Paperclip.run(
(Gem.win_platform?)?"magick identify":"identify",
Gem.win_platform? ? "magick identify" : "identify",
"-format '%wx%h,#{orientation}' :file", {
:file => "#{path}[0]"
}, {
Expand Down

0 comments on commit ddc42e7

Please sign in to comment.