mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-08 11:15:52 +00:00
Hopefully this commit fixes etags in filesystem storage
This commit is contained in:
parent
9b78360515
commit
a93a06abb2
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ class safe_write(object):
|
|||
return self
|
||||
|
||||
def __exit__(self, type, value, tb):
|
||||
self.f.close()
|
||||
if type is None:
|
||||
os.rename(self.tmppath, self.fpath)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue