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')