diff --git a/radicale/storage/multifilesystem.py b/radicale/storage/multifilesystem.py index 3bd9b277..16b6c63b 100644 --- a/radicale/storage/multifilesystem.py +++ b/radicale/storage/multifilesystem.py @@ -72,6 +72,8 @@ class Collection(filesystem.Collection): "Can't tranlate name safely to filesystem, " "skipping component: %s", name) return + if name in self.items: + del self.items[name] filesystem_path = os.path.join(self._filesystem_path, name) if os.path.exists(filesystem_path): os.remove(filesystem_path)