[F] Fix thumbnailer %i variable

This commit is contained in:
Azalea Gui
2023-02-23 20:44:35 -05:00
parent 56a1c3f81d
commit 72e019adad
+1
View File
@@ -48,6 +48,7 @@ impl Thumbnailer {
let cmd = self.exec
.replace("%s", &*format!("'{pixels}'"))
.replace("%u", &shlex::quote(orig))
.replace("%i", &shlex::quote(orig))
.replace("%o", &shlex::quote(new));
let args: Vec<String> = Shlex::new(&*cmd).collect();
let out = Command::new(args[0].to_owned()).args(&args[1..]).output()?;