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() 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()