Skip to content

Commit e8b7213

Browse files
author
Hugo Osvaldo Barrera
authored
Merge pull request #961 from dilyanpalauzov/readonly_metadata
vdirsyncer/metasync.py: for read_only storages adjust the metadata resolution in favour of the read_only storage
2 parents 54a5bf4 + 8a44b27 commit e8b7213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vdirsyncer/metasync.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async def _resolve_conflict():
5555
logger.debug(f"B: {b}")
5656
logger.debug(f"S: {s}")
5757

58-
if a != s and b != s:
58+
if a != s and b != s or storage_a.read_only or storage_b.read_only:
5959
await _resolve_conflict()
6060
elif a != s and b == s:
6161
await _a_to_b()

0 commit comments

Comments
 (0)