mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
commit
924757df92
@ -586,7 +586,7 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
|||||||
# the device.
|
# the device.
|
||||||
raise OpenFailed('')
|
raise OpenFailed('')
|
||||||
try:
|
try:
|
||||||
peer = self.device_socket.getpeername()
|
peer = self.device_socket.getpeername()[0]
|
||||||
self.connection_attempts[peer] = 0
|
self.connection_attempts[peer] = 0
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user