mai2: fix logic in handle_get_user_music_api_request

This commit is contained in:
Kevin Trocolli committed 2023-06-13 22:50:57 -04:00
1 parent 65686fb615
commit 1b2f5e3709
1 file changed
+1 -1
+1 -1
View File
@@ -668,7 +668,7 @@ class Mai2Base:
num_user_songs = len(songs)
for x in range(next_index, upper_lim):
if num_user_songs >= x:
if num_user_songs <= x:
break
tmp = songs[x]._asdict()