diff --git a/bin/src/modules/binarize/mod.rs b/bin/src/modules/binarize/mod.rs index dbc113e5..cac66f56 100644 --- a/bin/src/modules/binarize/mod.rs +++ b/bin/src/modules/binarize/mod.rs @@ -283,7 +283,7 @@ impl Module for Binarize { "..\\{}", &target .output - .trim_start_matches(tmp_source.to_str().expect("path is valid utf-8")) + .trim_start_matches(ctx.tmp().to_str().expect("path is valid utf-8")) .trim_start_matches('/') .replace('/', "\\") ),