diff --git a/mopidy/core/tracklist.py b/mopidy/core/tracklist.py index 5c14b4fb..8bd31b4f 100644 --- a/mopidy/core/tracklist.py +++ b/mopidy/core/tracklist.py @@ -326,7 +326,8 @@ class TracklistController(object): if self.get_repeat(): # Fix for bug 1512 - # Return None if consume mode and there is only one track (left) in the list + # Return None if consume mode and there is only one track (left) + # in the list if self.get_consume() and len(self._tl_tracks) == 1: return None else: diff --git a/tests/core/test_playback.py b/tests/core/test_playback.py index 9f6baa42..5befa364 100644 --- a/tests/core/test_playback.py +++ b/tests/core/test_playback.py @@ -442,7 +442,7 @@ class TestConsumeHandling(BaseTest): self.core.playback.next() self.replay_events() - # Try repeat, player state should remain as stopped (all tracks consumed) + # Try repeat, player state remain stopped (all tracks consumed) self.core.playback.next() self.replay_events()