diff --git a/src/post/blag.rs b/src/post/blag.rs index 96d150c..06007e9 100644 --- a/src/post/blag.rs +++ b/src/post/blag.rs @@ -170,7 +170,7 @@ impl PostManager for Blag { let stat = tokio::fs::metadata(entry.path()).await?; - if stat.file_type().is_file() { + if stat.is_file() { let mut name = match entry.file_name().into_string() { Ok(v) => v, Err(_) => {