Rename variables forgotten in previous commit

This commit is contained in:
Stein Magnus Jodal 2010-08-14 23:52:03 +02:00
parent 187d3544c4
commit 79eb5028ca

View File

@ -321,9 +321,9 @@ class BasePlaybackController(object):
self.current_cp_track = cp_track
self.state = self.PLAYING
if not self._play(cp_track[1]):
if at_error_step == 1:
if on_error_step == 1:
self.next()
elif at_error_step == -1:
elif on_error_step == -1:
self.previous()
if self.random and self.current_cp_track in self._shuffled: