Remove the type odd annotation from playlistmanage

This commit is contained in:
Aleksander Wasaznik 2017-02-06 20:24:24 +01:00
parent 2b33f51053
commit 3398af9888
1 changed files with 1 additions and 1 deletions

View File

@ -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)