mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix the fix
This commit is contained in:
parent
0140b4f43b
commit
53213fb494
@ -455,6 +455,9 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
|||||||
# protocol, this can only be a disconnect notification. Fall
|
# protocol, this can only be a disconnect notification. Fall
|
||||||
# through and actually try to talk to the client.
|
# through and actually try to talk to the client.
|
||||||
# This will usually toss an exception if the socket is gone.
|
# This will usually toss an exception if the socket is gone.
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
try:
|
||||||
if self._call_client('NOOP', dict())[0] is None:
|
if self._call_client('NOOP', dict())[0] is None:
|
||||||
self.is_connected = False
|
self.is_connected = False
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user