fix: file push

This commit is contained in:
Swann 2021-01-13 15:09:10 +01:00
parent 6a00b58600
commit 2913e6d5a7
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -79,8 +79,8 @@ class BlFile(ReplicatedDatablock):
logging.debug("File don't exist, loading it.")
self._load(self.data, self.instance)
def push(self, socket, identity=None):
super().push(socket, identity=None)
def push(self, socket, identity=None, check_data=False):
super().push(socket, identity=None, check_data=False)
if self.preferences.clear_memory_filecache:
del self.data['file']