diff --git a/wayshot/src/wayshot.rs b/wayshot/src/wayshot.rs index 9b3926e9..4f097109 100644 --- a/wayshot/src/wayshot.rs +++ b/wayshot/src/wayshot.rs @@ -59,7 +59,7 @@ fn main() -> Result<()> { } else { if pathbuf.is_dir() { pathbuf.push(utils::get_default_file_name(requested_encoding)); - } + } Some(pathbuf) } }