fixed error

This commit is contained in:
DustInDark
2021-12-22 20:38:21 +09:00
parent bf0d3b12f2
commit 2250c4b2c3

View File

@@ -45,7 +45,7 @@ pub fn after_fact() {
let mut displayflag = false;
let mut target: Box<dyn io::Write> =
if let Some(csv_path) = configs::CONFIG.read().unwrap().args.value_of("details") {
if let Some(csv_path) = configs::CONFIG.read().unwrap().args.value_of("output") {
// ファイル出力する場合
match File::create(csv_path) {
Ok(file) => Box::new(BufWriter::new(file)),