Sync cache folder when uploading whole collection

This commit is contained in:
Unrud 2017-08-09 17:37:48 +02:00
parent 1821b872d2
commit 86631e4ddd

View File

@ -952,6 +952,7 @@ class Collection(BaseCollection):
with self._atomic_write( with self._atomic_write(
path, newline="", sync_directory=False) as f: path, newline="", sync_directory=False) as f:
f.write(text) f.write(text)
self._sync_directory(cache_folder)
self._sync_directory(self._filesystem_path) self._sync_directory(self._filesystem_path)
@classmethod @classmethod