From da6211b9ef9fc576105a9ee3086c5d33315a9226 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 5 Jan 2009 08:25:18 +0900 Subject: [PATCH] don't use full path to audio, as the working directory will do --- anki/sound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/sound.py b/anki/sound.py index 045953b4d..5c66c357d 100644 --- a/anki/sound.py +++ b/anki/sound.py @@ -58,7 +58,7 @@ class QueueMonitor(threading.Thread): def playExternal(path): global manager - path = os.path.abspath(path).encode(sys.getfilesystemencoding()) + path = path.encode(sys.getfilesystemencoding()) queue.append(path) if not manager or not manager.isAlive(): manager = QueueMonitor()