Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -62,11 +62,12 @@ class FootballReplayMatch: | @@ -62,11 +62,12 @@ class FootballReplayMatch: | ||
| 62 | """ | 62 | """ |
| 63 | task_id = data.get("id") | 63 | task_id = data.get("id") |
| 64 | match_id = data.get("match_id") | 64 | match_id = data.get("match_id") |
| 65 | - replay_id = replay_info.get('id') | 65 | + |
| 66 | matched_event_id = None | 66 | matched_event_id = None |
| 67 | 67 | ||
| 68 | # 该时间段附近是否有进球事件 | 68 | # 该时间段附近是否有进球事件 |
| 69 | replay_info = data['replay'] | 69 | replay_info = data['replay'] |
| 70 | + replay_id = replay_info.get('id') | ||
| 70 | live_events = data['events'] | 71 | live_events = data['events'] |
| 71 | goal_live_events = [e for e in live_events if str(e.get('type', '')) == '1'] | 72 | goal_live_events = [e for e in live_events if str(e.get('type', '')) == '1'] |
| 72 | 73 |
-
Please register or login to post a comment