1
0
Fork 0
mirror of synced 2024-05-18 19:42:28 +12:00

Refresh the entry

This commit is contained in:
phxntxm 2017-07-28 08:43:58 -05:00
parent cbbec95196
commit 63a7788030

View file

@ -170,6 +170,8 @@ class Playlist(EventEmitter):
# Otherwise, wait a second and check again
else:
await asyncio.sleep(1)
# "Refresh" the next entry, in case someone cleared the next song in the queue
entry = self.peek()
# If we've reached here, we have no entries
return None