This commit is contained in:
1 parent
e46abbf8ee
commit
659bad02c9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ fn is_image_or_video(path: &Path) -> bool {
|
||||
.extension()
|
||||
.unwrap_or_else(|| OsStr::new(""))
|
||||
.to_str()
|
||||
.unwrap_or_else(|| "")
|
||||
.unwrap_or("")
|
||||
.to_lowercase();
|
||||
|
||||
extension == "png"
|
||||
|
||||
Reference in new issue
Block a user