mirror of
https://github.com/ankitects/anki.git
synced 2025-12-11 13:56:55 -05:00
parent
6ea75df292
commit
e6d990a44e
1 changed files with 0 additions and 1 deletions
|
|
@ -370,7 +370,6 @@ class AnkiPackageExporter(AnkiExporter):
|
||||||
p = path.replace(".apkg", ".media.db2")
|
p = path.replace(".apkg", ".media.db2")
|
||||||
if os.path.exists(p):
|
if os.path.exists(p):
|
||||||
os.unlink(p)
|
os.unlink(p)
|
||||||
os.chdir(self.mediaDir)
|
|
||||||
shutil.rmtree(path.replace(".apkg", ".media"))
|
shutil.rmtree(path.replace(".apkg", ".media"))
|
||||||
return media
|
return media
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue