Parcourir la source

Remove props file when deleting a collection with multifilesystem

Vincent Untz il y a 11 ans
Parent
commit
71c243035e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      radicale/storage/multifilesystem.py

+ 1 - 0
radicale/storage/multifilesystem.py

@@ -60,6 +60,7 @@ class Collection(filesystem.Collection):
 
     def delete(self):
         shutil.rmtree(self._path)
+        os.remove(self._props_path)
 
     def remove(self, name):
         if os.path.exists(os.path.join(self._path, name)):