Fix linting issues

remotes/origin/HEAD
Phil Howard 2020-07-14 14:50:24 +01:00
parent d5851339a5
commit 1633402de2
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class RaspberryGPIOFrontend(pykka.ThreadingActor, core.CoreListener):
self.core.playback.pause()
else:
self.core.playback.play()
def handle_play_stop(self, config):
if self.core.playback.get_state().get() == core.PlaybackState.PLAYING:
self.core.playback.stop()