Replace / with / in batch output filename

This commit is contained in:
Simon Bruder 2020-06-30 12:58:22 +02:00
parent c5ee64e37d
commit 446ddb10e5
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -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();