This commit is contained in:
Kovid Goyal 2021-08-10 12:41:29 +05:30
parent 5e0902685a
commit 49db6b5881
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -228,7 +228,6 @@ class GuiLibraryBroker(LibraryBroker):
from calibre.gui2.ui import get_gui
gui = get_gui()
if gui is not None:
db = LibraryBroker.get(self, library_id)
with self:
db = self.loaded_dbs.get(library_id)
if db is not None: