mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Addition to commit 9022554d9389a973f8f48d9fede7c93e7ced079f: ensure that startup() initializes is_connected
This commit is contained in:
parent
76692c8115
commit
586442ecd3
@ -1799,6 +1799,7 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
|||||||
@synchronous('sync_lock')
|
@synchronous('sync_lock')
|
||||||
def startup(self):
|
def startup(self):
|
||||||
self.listen_socket = None
|
self.listen_socket = None
|
||||||
|
self.is_connected = False
|
||||||
|
|
||||||
@synchronous('sync_lock')
|
@synchronous('sync_lock')
|
||||||
def startup_on_demand(self):
|
def startup_on_demand(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user