no comprobar imagenes que no existen

This commit is contained in:
f 2020-08-07 17:49:46 -03:00
parent a0660a473b
commit 0fd76ebb04

View file

@ -13,6 +13,8 @@ class MetadataImage < MetadataFile
# Determina si es una imagen
def image?
return true unless file
filemagic.file(file).starts_with? 'image/'
end
end