check case when checking gif files

This commit is contained in:
tibbi 2016-10-09 18:36:04 +02:00
parent fc0b011d48
commit be5eefb9a6
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class Medium implements Serializable, Comparable {
} }
public boolean isGif() { public boolean isGif() {
return getPath().endsWith(".gif"); return getPath().toLowerCase().endsWith(".gif");
} }
public boolean isImage() { public boolean isImage() {