mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 14:47:12 -05:00
update on openSession()
This commit is contained in:
parent
f9ace0178c
commit
0ffc634094
1 changed files with 1 additions and 0 deletions
|
|
@ -1811,6 +1811,7 @@ Return new path, relative to media dir."""
|
||||||
def openSession(self):
|
def openSession(self):
|
||||||
"Open a new session. Assumes old session is already closed."
|
"Open a new session. Assumes old session is already closed."
|
||||||
self.s = SessionHelper(self.Session(), lock=self.needLock)
|
self.s = SessionHelper(self.Session(), lock=self.needLock)
|
||||||
|
self.s.update(self)
|
||||||
self.refresh()
|
self.refresh()
|
||||||
|
|
||||||
def closeSession(self):
|
def closeSession(self):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue