mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
Remove unneeded re-import of anki.db
This commit is contained in:
parent
7abd58382f
commit
1ea0bb3453
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