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.
|
||||
raise OpenFailed('')
|
||||
try:
|
||||
peer = self.device_socket.getpeername()
|
||||
peer = self.device_socket.getpeername()[0]
|
||||
self.connection_attempts[peer] = 0
|
||||
except:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user