eio model: use empty mime type when efreet is unable to determine it

This commit is contained in:
Vitor Sousa 2016-09-23 11:32:46 -03:00
parent bcf311ae3c
commit 3dbe84f0e9
1 changed files with 2 additions and 2 deletions

View File

@ -323,8 +323,8 @@ _eio_model_efl_model_property_get(Eo *obj EINA_UNUSED, Eio_Model_Data *priv, con
value = efreet_mime_type_get(priv->path);
if (value == NULL)
{
eina_promise_owner_error_set(promise, EFL_MODEL_ERROR_NOT_FOUND);
return rpromise;
value = "";
WRN("could not get mime type for: %s", priv->path);
}
property_name = EIO_MODEL_PROP_MIME_TYPE;
}