From 440a990f2fb267425a42be9a54e1daacf25b6eb9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 24 Dec 2023 12:13:22 +0530 Subject: [PATCH] ... --- src/calibre/gui2/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/ui.py b/src/calibre/gui2/ui.py index a4d7087d9e..213866bb2e 100644 --- a/src/calibre/gui2/ui.py +++ b/src/calibre/gui2/ui.py @@ -471,9 +471,9 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{ self.focus_current_view() def start_smartdevice(self): - timed_print('Starting the smartdevice driver') message = None if self.device_manager.get_option('smartdevice', 'autostart'): + timed_print('Starting the smartdevice driver') with BusyCursor(): try: message = self.device_manager.start_plugin('smartdevice')