Also trigger onUpdated on file delete
This commit is contained in:
parent
0be6cb6602
commit
3ff75c6602
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ class SiteStorage(object):
|
||||||
def delete(self, inner_path):
|
def delete(self, inner_path):
|
||||||
file_path = self.getPath(inner_path)
|
file_path = self.getPath(inner_path)
|
||||||
os.unlink(file_path)
|
os.unlink(file_path)
|
||||||
|
self.onUpdated(inner_path)
|
||||||
|
|
||||||
def deleteDir(self, inner_path):
|
def deleteDir(self, inner_path):
|
||||||
dir_path = self.getPath(inner_path)
|
dir_path = self.getPath(inner_path)
|
||||||
|
|
Loading…
Reference in a new issue