mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 13:43:47 +00:00
Fix missing optional parameter initSession
This commit is contained in:
parent
1a9b220ec2
commit
f677dcb1f4
@ -436,7 +436,7 @@ class CalibreDB():
|
|||||||
self.instances.add(self)
|
self.instances.add(self)
|
||||||
|
|
||||||
|
|
||||||
def initSession(self, expire_on_commit):
|
def initSession(self, expire_on_commit=True):
|
||||||
self.session = self.session_factory()
|
self.session = self.session_factory()
|
||||||
self.session.expire_on_commit = expire_on_commit
|
self.session.expire_on_commit = expire_on_commit
|
||||||
self.update_title_sort(self.config)
|
self.update_title_sort(self.config)
|
||||||
|
Loading…
Reference in New Issue
Block a user