This commit is contained in:
Damien Elmes 2012-01-30 05:28:01 +09:00
commit 63b5e862b3

View file

@ -41,6 +41,10 @@ class MediaManager(object):
return
self.db.close()
self.db = None
# reset our path to ~/Anki
anki_dir = os.path.dirname( os.path.dirname(self.col.path) )
os.chdir(anki_dir)
def dir(self):
return self._dir