fix: snapshot

This commit is contained in:
Swann Martinez 2019-07-19 11:46:43 +02:00
parent 91c62785fd
commit dac5662f77
No known key found for this signature in database
GPG Key ID: 414CCAFD8DA720E1

View File

@ -243,7 +243,7 @@ class ServerNetService(threading.Thread):
if request == b"SNAPSHOT_REQUEST":
# Sending snapshots
for key, item in self._rep_store:
for key, item in self._rep_store.items():
self.snapshot.send(identity, zmq.SNDMORE)
item.push(self.snapshot)