Fix BaseCurrentPlaylistController with respect to test_move_single
(cherry picked from commit 3cb382e495)
This commit is contained in:
parent
da886fef8c
commit
d18e19d094
@ -138,6 +138,9 @@ class BaseCurrentPlaylistController(object):
|
||||
:param to_position: new position for the tracks
|
||||
:type to_position: int
|
||||
"""
|
||||
if start == end:
|
||||
end += 1
|
||||
|
||||
tracks = self.playlist.tracks
|
||||
new_tracks = tracks[:start] + tracks[end:]
|
||||
for track in tracks[start:end]:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user