forked from Hay1tsme/artemis
mai2: fix logic in handle_get_user_music_api_request
This commit is contained in:
parent
65686fb615
commit
1b2f5e3709
@ -668,7 +668,7 @@ class Mai2Base:
|
|||||||
num_user_songs = len(songs)
|
num_user_songs = len(songs)
|
||||||
|
|
||||||
for x in range(next_index, upper_lim):
|
for x in range(next_index, upper_lim):
|
||||||
if num_user_songs >= x:
|
if num_user_songs <= x:
|
||||||
break
|
break
|
||||||
|
|
||||||
tmp = songs[x]._asdict()
|
tmp = songs[x]._asdict()
|
||||||
|
Loading…
Reference in New Issue
Block a user