mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Fix upload of calendars with colliding UIDs
This commit is contained in:
parent
994b2a5b5b
commit
9e11ebfffc
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue