diff --git a/titles/idac/season2.py b/titles/idac/season2.py index 6b94c57..89379ec 100644 --- a/titles/idac/season2.py +++ b/titles/idac/season2.py @@ -593,6 +593,9 @@ class IDACSeason2(IDACBase): if vs_info is not None: vs_info = vs_info._asdict() + del vs_info["id"] + del vs_info["user"] + vs_info["invalid"] = vs_info["invalid"] + data.get("result") vs_info["str_now"] = vs_info["str_now"] + data.get("win_flg") if data.get("win_flg") == 1 else 0 vs_info["str"] = vs_info["str"] if vs_info["str"] > vs_info["str_now"] else vs_info["str_now"] @@ -612,6 +615,9 @@ class IDACSeason2(IDACBase): if vs_courses_info is not None: for course in vs_courses_info: course = course._asdict() + del vs_info["id"] + del vs_info["user"] + if course["course_id"] == data.get("course_id"): course["vs_cnt"] += 1 course["vs_win"] += data.get("win_flg")