mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
oops
This commit is contained in:
parent
5e0902685a
commit
49db6b5881
@ -228,7 +228,6 @@ class GuiLibraryBroker(LibraryBroker):
|
|||||||
from calibre.gui2.ui import get_gui
|
from calibre.gui2.ui import get_gui
|
||||||
gui = get_gui()
|
gui = get_gui()
|
||||||
if gui is not None:
|
if gui is not None:
|
||||||
db = LibraryBroker.get(self, library_id)
|
|
||||||
with self:
|
with self:
|
||||||
db = self.loaded_dbs.get(library_id)
|
db = self.loaded_dbs.get(library_id)
|
||||||
if db is not None:
|
if db is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user