mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure we reopen log after export
This commit is contained in:
parent
5bc25e494c
commit
636d70ab16
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ crt=?, mod=?, scm=?, dty=?, usn=?, ls=?, conf=?""",
|
|||
if not self.db:
|
||||
self.db = anki.db.DB(self.path)
|
||||
self.media.connect()
|
||||
self._openLog()
|
||||
|
||||
def rollback(self):
|
||||
self.db.rollback()
|
||||
|
|
Loading…
Reference in a new issue