From 085fbf3bcc6c451bfcc821c18033cd9a7a4c35f4 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 6 Apr 2009 11:47:14 +0900 Subject: [PATCH] add hack to prevent qt movie for now --- anki/sound.py | 2 ++ 1 file changed, 2 insertions(+) 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