Unrud 8 лет назад
Родитель
Сommit
ed6335aa15
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      radicale/storage.py

+ 1 - 0
radicale/storage.py

@@ -771,6 +771,7 @@ class Collection(BaseCollection):
             newline=newline, encoding=None if "b" in mode else self._encoding)
         try:
             yield tmp
+            tmp.flush()
             try:
                 self._fsync(tmp.fileno())
             except OSError as e: