diff --git a/bin/src/modules/binarize/mod.rs b/bin/src/modules/binarize/mod.rs index 33ea87ff..0c58b325 100644 --- a/bin/src/modules/binarize/mod.rs +++ b/bin/src/modules/binarize/mod.rs @@ -219,8 +219,6 @@ impl Module for Binarize { source: tmp_sourced .to_str() .expect("tmp source path should be valid utf-8") - .trim_start_matches('/') - .trim_start_matches(&addon.folder()) .to_owned(), output: tmp_outed .to_str()