diff --git a/minode/connection.py b/minode/connection.py index b7f9a75..606a1d0 100644 --- a/minode/connection.py +++ b/minode/connection.py @@ -431,13 +431,13 @@ class ConnectionBase(threading.Thread): self.send_queue.put(message.GetData(pack)) self.vectors_requested.update({ vector: time.time() for vector in pack - if vector not in self.vectors_requested}) + }) self.vectors_to_get.difference_update(pack) else: self.send_queue.put(message.GetData(self.vectors_to_get)) self.vectors_requested.update({ vector: time.time() for vector in self.vectors_to_get - if vector not in self.vectors_requested}) + }) self.vectors_to_get.clear() if self.vectors_requested: self.vectors_requested = {