Remove the type odd annotation from playlistmanage
This commit is contained in:
parent
2b33f51053
commit
3398af9888
@ -28,7 +28,7 @@ class Playlist:
|
|||||||
self.nonempty.notify()
|
self.nonempty.notify()
|
||||||
self.change.notify()
|
self.change.notify()
|
||||||
|
|
||||||
async def dequeue(self) -> PlaylistItem:
|
async def dequeue(self):
|
||||||
await self.nonempty
|
await self.nonempty
|
||||||
self.change.notify()
|
self.change.notify()
|
||||||
return self.playlist.pop(0)
|
return self.playlist.pop(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user