From 7900f68051c3e0b7032897bbcc8f89a0c65dc48f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 20 Jan 2020 20:12:48 +1000 Subject: [PATCH] don't need allSounds/stripSounds in qt's sound.py --- qt/aqt/sound.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/qt/aqt/sound.py b/qt/aqt/sound.py index 1475cf519..87662549f 100644 --- a/qt/aqt/sound.py +++ b/qt/aqt/sound.py @@ -652,6 +652,7 @@ def setup_audio(base_folder: str) -> None: av_player.players.append(MacTTSPlayer()) + # Legacy audio interface ########################################################################## # these will be removed in the future @@ -674,11 +675,6 @@ def playFromText(text) -> None: _player = play _queueEraser = clearAudioQueue -# imports that add-ons may be expecting -# fmt:off -from anki.sound import allSounds, stripSounds # isort:skip pylint: disable=unused-import -# fmt:on - # add everything from this module into anki.sound for backwards compat _exports = [i for i in locals().items() if not i[0].startswith("__")] for (k, v) in _exports: