Check channel_eid_info #463

This commit is contained in:
garigariganzy
2022-10-05 00:49:24 +09:00
parent 4bb2cf1a89
commit e4c52f386f
3 changed files with 3 additions and 5 deletions

2
rules

Submodule rules updated: aaf910cdca...cab56600cb

View File

@@ -269,11 +269,11 @@ impl ConfigReader<'_> {
args: parse.clone(),
headless_help: String::default(),
event_timeline_config: load_eventcode_info(
utils::check_setting_path(&parse.config, "event_id_info.txt", false)
utils::check_setting_path(&parse.config, "channel_eid_info.txt", false)
.unwrap_or_else(|| {
utils::check_setting_path(
&CURRENT_EXE_PATH.to_path_buf(),
"rules/config/event_id_info.txt",
"rules/config/channel_eid_info.txt",
true,
)
.unwrap()

View File

@@ -140,8 +140,6 @@ impl Timeline {
let rate: f32 = **event_cnt as f32 / self.stats.total as f32;
let fmted_channel = channel.replace('\"', "");
println!("{:?}", fmted_channel);
println!("{:?}", event_id);
// イベント情報取得(eventtitleなど)
let conf = CONFIG