diff --git a/anki/sound.py b/anki/sound.py index 02ef6d051..35ef134d1 100644 --- a/anki/sound.py +++ b/anki/sound.py @@ -227,6 +227,8 @@ class PyAudioRecorder(_Recorder): ########################################################################## try: + if 'noqtmovie' in os.environ: + raise ImportError from QTKit import QTMovie from AppKit import NSAutoreleasePool