Fix lints.

This commit is contained in:
Matthew Stratford 2021-11-02 23:02:09 +00:00
parent c475dbb5d5
commit 65944e59b3
2 changed files with 5 additions and 5 deletions

View file

@ -18,7 +18,7 @@ for i in names:
print(mixer.get_init()) print(mixer.get_init())
mixer.music.load("/home/mstratford/Downloads/managed_play.mp3") mixer.music.load("/home/mstratford/Downloads/managed_play.mp3")
mixer.music.play() mixer.music.play()
#my_song = mixer.Sound("/home/mstratford/Downloads/managed_play.mp3") # my_song = mixer.Sound("/home/mstratford/Downloads/managed_play.mp3")
#my_song.play() # my_song.play()
time.sleep(5) time.sleep(5)
pygame.quit() pygame.quit()

View file

@ -181,7 +181,7 @@ def ui_config_player(request):
data = { data = {
"channels": channel_states, "channels": channel_states,
"outputs": outputs, "outputs": outputs,
"sdl_direct": isLinux(), "sdl_direct": isLinux(),
"ui_page": "config", "ui_page": "config",
"ui_title": "Player Config", "ui_title": "Player Config",
} }
@ -553,5 +553,5 @@ def WebServer(player_to: List[Queue], player_from: List[Queue], state: StateMana
if app: if app:
app.stop() app.stop()
del app del app
except: except Exception:
pass pass