mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-27 02:15:17 +02:00
Reinitialize internal metadata maps on each connect
This commit is contained in:
parent
8354ed8cf2
commit
a3428ab201
1 changed files with 3 additions and 0 deletions
|
|
@ -919,6 +919,9 @@ def open(self, connected_device, library_uuid):
|
|||
self.connection_attempts[peer] = 0
|
||||
except:
|
||||
pass
|
||||
|
||||
self.known_metadata = {}
|
||||
self.known_uuids = {}
|
||||
return True
|
||||
except socket.timeout:
|
||||
self._close_device_socket()
|
||||
|
|
|
|||
Loading…
Reference in a new issue