From 19698d62566e9f95ffda212ff9fde334d101b910 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 28 Mar 2009 10:14:43 +0900 Subject: [PATCH] only warn on a mac, include \n --- anki/sound.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anki/sound.py b/anki/sound.py index ffc6e50fe..02ef6d051 100644 --- a/anki/sound.py +++ b/anki/sound.py @@ -266,7 +266,8 @@ try: except ImportError: # fall back to old nssound code for 10.3 - sys.stderr.write("falling back to 10.3 audio library") + if sys.platform.startswith("darwin"): + sys.stderr.write("falling back to 10.3 audio library\n") try: