Added jpeg to image extensions

This commit is contained in:
Antoine Gersant 2016-10-23 12:10:48 -07:00
parent ebea771424
commit c50e957932

View file

@ -31,6 +31,7 @@ pub fn is_image(path: &Path) -> bool {
"png" => true, "png" => true,
"gif" => true, "gif" => true,
"jpg" => true, "jpg" => true,
"jpeg" => true,
"bmp" => true, "bmp" => true,
_ => false, _ => false,
} }