From 446ddb10e5607c3c8a393b8e264e02bd1acd389a Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 30 Jun 2020 12:58:22 +0200 Subject: [PATCH] =?UTF-8?q?Replace=20/=20with=20=EF=BC=8F=20in=20batch=20o?= =?UTF-8?q?utput=20filename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ae4f58b..857ba7b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -427,7 +427,7 @@ fn main() -> Result<()> { xwb_file.push(&entry.basename); xwb_file.set_extension("xwb"); let mut out_file = opts.out_dir.clone(); - out_file.push(format!("{} - {}.osz", entry.artist, entry.title)); + out_file.push(format!("{} - {}.osz", entry.artist, entry.title).replace("/", "/")); let mut convert_options = opts.convert.clone();