From 319aea098f1dbe587f4aea15997cd1e071bc948c Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Sat, 8 Jun 2024 22:19:59 -0400 Subject: [PATCH] dx: fix GetUserRivalMusicApi list index out of range --- titles/mai2/dx.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/titles/mai2/dx.py b/titles/mai2/dx.py index 2c7d960..3c5c319 100644 --- a/titles/mai2/dx.py +++ b/titles/mai2/dx.py @@ -600,6 +600,8 @@ class Mai2DX(Mai2Base): num_user_songs = len(songs) for x in range(next_index, upper_lim): + if x >= num_user_songs: + break tmp = songs[x]._asdict() if tmp['musicId'] in rival_music_list: