fix: snapshot command store

This commit is contained in:
Swann
2019-07-23 11:49:38 +02:00
parent eec0d899dc
commit 4f51941b36
2 changed files with 10 additions and 3 deletions

View File

@ -164,8 +164,8 @@ class ClientNetService(threading.Thread):
if 'SNAPSHOT_END' in datablock.buffer:
self.state = STATE_ACTIVE
logger.debug('{} : snapshot done'.format(self._id))
datablock.store(self._store_reference)
else:
datablock.store(self._store_reference)
# We receive updates from the server !
if self.subscriber in items: