Fix lints.
This commit is contained in:
parent
c475dbb5d5
commit
65944e59b3
2 changed files with 5 additions and 5 deletions
|
@ -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()
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue