mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +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:
|
||||
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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue