Fixed some tests

This commit is contained in:
Sumner Evans
2020-04-06 09:05:52 -06:00
parent a695be3340
commit a6066da532
2 changed files with 16 additions and 10 deletions

View File

@@ -61,6 +61,9 @@ class UIState:
active_playlist_id: Optional[str] = None
def migrate(self):
pass
@property
def current_song(self) -> Optional[Child]:
if (not self.play_queue or self.current_song_index < 0