Warn on music codec not found
This commit is contained in:
parent
ddf7ea0f4e
commit
b173b6ff73
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user