From 1423dfbbbe3293d79ebf4afb6a9887cc15f7cd6b Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 29 Jun 2021 18:48:56 -0400 Subject: [PATCH] remove references to deleted dbus code In commit 06847efbeef3fc52501222f8d7afcb19f9d853f2 the init_dbus function got removed due to not being needed in jeepney. But it still got imported and run in a manually launched __main__ test. --- src/calibre/gui2/preferences/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/calibre/gui2/preferences/main.py b/src/calibre/gui2/preferences/main.py index 2a59b64584..10a2b5b295 100644 --- a/src/calibre/gui2/preferences/main.py +++ b/src/calibre/gui2/preferences/main.py @@ -433,8 +433,6 @@ class Preferences(QDialog): if __name__ == '__main__': from calibre.gui2 import Application - from calibre.gui_launch import init_dbus - init_dbus() app = Application([]) app gui = init_gui()