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 @@ def on_db_event(self, event_type, library_id, event_data):
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: