mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Merge pull request #395 from agentydragon/remove-reimport
Remove unneeded re-import of anki.db
This commit is contained in:
commit
20089597d1
1 changed files with 1 additions and 3 deletions
|
@ -261,10 +261,8 @@ crt=?, mod=?, scm=?, dty=?, usn=?, ls=?, conf=?""",
|
|||
|
||||
def reopen(self) -> None:
|
||||
"Reconnect to DB (after changing threads, etc)."
|
||||
import anki.db
|
||||
|
||||
if not self.db:
|
||||
self.db = anki.db.DB(self.path)
|
||||
self.db = DB(self.path)
|
||||
self.media.connect()
|
||||
self._openLog()
|
||||
|
||||
|
|
Loading…
Reference in a new issue