Fixed small issue in audio player

This commit is contained in:
Manuel Cortez 2019-03-05 13:44:35 -06:00
parent 454b461e89
commit 2908b1449c

View File

@ -124,7 +124,7 @@ class audioPlayer(object):
def play_next(self):
if len(self.queue) == 0:
return
if self.playing_track < len(self.queue):
if self.playing_track < len(self.queue)-1:
self.playing_track += 1
else:
self.playing_track = 0