mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix another tmpdir() reference
This commit is contained in:
parent
f56c2156a2
commit
b165ef3980
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ def queueMplayer(path):
|
|||
# mplayer on windows doesn't like the encoding, so we create a
|
||||
# temporary file instead. oddly, foreign characters in the dirname
|
||||
# don't seem to matter.
|
||||
dir = unicode(tmpdir(), sys.getfilesystemencoding())
|
||||
dir = tmpdir()
|
||||
name = os.path.join(dir, "audio%s%s" % (
|
||||
random.randrange(0, 1000000), os.path.splitext(path)[1]))
|
||||
f = open(name, "wb")
|
||||
|
|
Loading…
Reference in a new issue