use jpg as extension for all output files
This commit is contained in:
parent
69dbead6ee
commit
3a9eda480a
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ pub fn output_path(image_path: PathBuf) -> Result<PathBuf,String> {
|
|||
Some(cache) => match xdg_dirs.create_cache_directory(cache) {
|
||||
Ok(mut cache) => {
|
||||
cache.push(image_path.strip_prefix("/").unwrap());
|
||||
cache.add_extension("jpg");
|
||||
Ok(cache)
|
||||
},
|
||||
Err(e) => Err(e.to_string()),
|
||||
|
|
Loading…
Add table
Reference in a new issue