Fix content deletion

This commit is contained in:
shortcutme 2016-09-14 10:52:41 +02:00
parent 14544922bf
commit 9fd19bf382
2 changed files with 15 additions and 7 deletions

View file

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