Warn on music codec not found

This commit is contained in:
Adrien MALINGREY 2019-10-04 16:07:40 +02:00
parent ddf7ea0f4e
commit b173b6ff73

View File

@ -234,8 +234,8 @@ class TetrArcade(TetrisLogic, arcade.Window):
for path in MUSICS_PATHS for path in MUSICS_PATHS
) )
self.music.queue(playlist) self.music.queue(playlist)
except: except Exception as e:
sys.warn("Can't play music.) sys.warn("Can't play music :" + str(e))
self.play_music = False self.play_music = False
def new_conf(self): def new_conf(self):