fix empty queue detection
This commit is contained in:
parent
4fba648fe8
commit
ad3e3ba0a6
@ -12,4 +12,4 @@ class music_queue:
|
||||
else:
|
||||
return self.elem.pop(0)
|
||||
def has_next(self):
|
||||
return self.elem
|
||||
return len(self.elem) == 0
|
Loading…
Reference in New Issue
Block a user