mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
fix exporting a packaged deck with media+foreign chars
This commit is contained in:
parent
36aadf1849
commit
49f3da23a4
1 changed files with 1 additions and 1 deletions
|
@ -2108,7 +2108,7 @@ it to your friends.
|
||||||
if mdir:
|
if mdir:
|
||||||
for f in os.listdir(mdir):
|
for f in os.listdir(mdir):
|
||||||
zip.write(os.path.join(mdir, f),
|
zip.write(os.path.join(mdir, f),
|
||||||
str(os.path.join("shared.media/", f)))
|
os.path.join("shared.media/", f))
|
||||||
os.chdir(pwd)
|
os.chdir(pwd)
|
||||||
shutil.rmtree(mdir)
|
shutil.rmtree(mdir)
|
||||||
os.chdir(pwd)
|
os.chdir(pwd)
|
||||||
|
|
Loading…
Reference in a new issue