Remove props file when deleting a collection with multifilesystem
This commit is contained in:
parent
a6884492a2
commit
71c243035e
@ -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…
Reference in New Issue
Block a user