13 lines
480 B
Diff
13 lines
480 B
Diff
|
diff --git a/app/controllers/concerns/uninterlace_png_concern.rb b/app/controllers/concerns/uninterlace_png_concern.rb
|
||
|
index 8e9d06251..0870357c6 100644
|
||
|
--- a/app/controllers/concerns/uninterlace_png_concern.rb
|
||
|
+++ b/app/controllers/concerns/uninterlace_png_concern.rb
|
||
|
@@ -14,6 +14,6 @@ module UninterlacePngConcern
|
||
|
|
||
|
def interlaced?(png_path)
|
||
|
png = MiniMagick::Image.open(png_path)
|
||
|
- png.data["interlace"] != "None"
|
||
|
+ png.details["interlace"] != "None"
|
||
|
end
|
||
|
end
|