mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Fix for Python 3
This commit is contained in:
parent
55c2d1f619
commit
5fa05bce13
1 changed files with 1 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ def save_status(base_path, pair, collection=None, data_type=None, data=None):
|
||||||
if e.errno != errno.EEXIST:
|
if e.errno != errno.EEXIST:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
with atomic_write(path, binary=True, overwrite=True) as f:
|
with atomic_write(path, binary=False, overwrite=True) as f:
|
||||||
json.dump(data, f)
|
json.dump(data, f)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue