This commit is contained in:
Kovid Goyal 2023-12-24 12:13:22 +05:30
parent 8c45539904
commit 440a990f2f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

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