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: