mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
only warn on a mac, include \n
This commit is contained in:
parent
7886d498bd
commit
19698d6256
1 changed files with 2 additions and 1 deletions
|
@ -266,7 +266,8 @@ try:
|
||||||
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# fall back to old nssound code for 10.3
|
# 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:
|
try:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue