mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Merge pull request #211 from vuntz/delete-multifilesystem
Remove props file when deleting a collection with multifilesystem
This commit is contained in:
commit
1c4c41ad0e
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ class Collection(filesystem.Collection):
|
||||||
|
|
||||||
def delete(self):
|
def delete(self):
|
||||||
shutil.rmtree(self._path)
|
shutil.rmtree(self._path)
|
||||||
|
os.remove(self._props_path)
|
||||||
|
|
||||||
def remove(self, name):
|
def remove(self, name):
|
||||||
if os.path.exists(os.path.join(self._path, name)):
|
if os.path.exists(os.path.join(self._path, name)):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue