Fix upload of calendars with colliding UIDs

This commit is contained in:
Unrud 2022-03-30 22:26:04 +02:00
parent ed8a2284a4
commit b64c9baa5f
1 changed files with 4 additions and 0 deletions

View File

@ -97,6 +97,10 @@ class CollectionPartUpload(CollectionPartGet, CollectionPartCache,
self._filesystem_path, href),
"w", newline="", encoding=self._encoding)
break
except pathutils.CollidingPathError:
if href_candidate_funtions:
continue
raise
except OSError as e:
if href_candidate_funtions and (
sys.platform != "win32" and