about summary refs log tree commit diff
path: root/app/lib/fast_geometry_parser.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-09-30 00:29:38 +0200
committerGitHub <noreply@github.com>2021-09-30 00:29:38 +0200
commit5e36c3b44c052afb1aa61e2405c595c726bc9503 (patch)
tree899cb5f54098d08f28dad2c8ee555b3557dead16 /app/lib/fast_geometry_parser.rb
parent00889b313176308018d66e54b5cb7dcc92da1587 (diff)
parent29b5c5f4830f9bda0af352b1d6ac73830a6cfd4e (diff)
Merge pull request #1612 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/lib/fast_geometry_parser.rb')
-rw-r--r--app/lib/fast_geometry_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/fast_geometry_parser.rb b/app/lib/fast_geometry_parser.rb
index 5209c2bc5..f3395a833 100644
--- a/app/lib/fast_geometry_parser.rb
+++ b/app/lib/fast_geometry_parser.rb
@@ -2,7 +2,7 @@
 
 class FastGeometryParser
   def self.from_file(file)
-    width, height = FastImage.size(file.path)
+    width, height = FastImage.size(file)
 
     raise Paperclip::Errors::NotIdentifiedByImageMagickError if width.nil?