diff --git a/app/services/uninterlace_service.rb b/app/services/uninterlace_service.rb index d4cef3aaf..0ec100e38 100644 --- a/app/services/uninterlace_service.rb +++ b/app/services/uninterlace_service.rb @@ -17,6 +17,7 @@ class UninterlaceService end def interlaced?(png_path) + return false if png_path.blank? png = MiniMagick::Image.open(png_path) png.data["interlace"] != "None" end