mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
don't use full path to audio, as the working directory will do
This commit is contained in:
parent
7e74fe3844
commit
da6211b9ef
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue