Also trigger onUpdated on file delete

This commit is contained in:
ZeroNet 2016-08-10 12:30:35 +02:00
parent 0be6cb6602
commit 3ff75c6602
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ class SiteStorage(object):
def delete(self, inner_path):
file_path = self.getPath(inner_path)
os.unlink(file_path)
self.onUpdated(inner_path)
def deleteDir(self, inner_path):
dir_path = self.getPath(inner_path)