Fix linting issues
parent
d5851339a5
commit
1633402de2
|
@ -62,7 +62,7 @@ class RaspberryGPIOFrontend(pykka.ThreadingActor, core.CoreListener):
|
||||||
self.core.playback.pause()
|
self.core.playback.pause()
|
||||||
else:
|
else:
|
||||||
self.core.playback.play()
|
self.core.playback.play()
|
||||||
|
|
||||||
def handle_play_stop(self, config):
|
def handle_play_stop(self, config):
|
||||||
if self.core.playback.get_state().get() == core.PlaybackState.PLAYING:
|
if self.core.playback.get_state().get() == core.PlaybackState.PLAYING:
|
||||||
self.core.playback.stop()
|
self.core.playback.stop()
|
||||||
|
|
Loading…
Reference in New Issue