Always update merger sites db on content.json update
This commit is contained in:
parent
879b504b0f
commit
3c4bc6ae35
1 changed files with 3 additions and 0 deletions
|
@ -295,6 +295,9 @@ class SiteStoragePlugin(object):
|
||||||
|
|
||||||
# Also notice merger sites on a merged site file change
|
# Also notice merger sites on a merged site file change
|
||||||
def onUpdated(self, inner_path, file=None):
|
def onUpdated(self, inner_path, file=None):
|
||||||
|
if inner_path == "content.json":
|
||||||
|
site_manager.updateMergerSites()
|
||||||
|
|
||||||
super(SiteStoragePlugin, self).onUpdated(inner_path, file)
|
super(SiteStoragePlugin, self).onUpdated(inner_path, file)
|
||||||
|
|
||||||
merged_type = merged_db.get(self.site.address)
|
merged_type = merged_db.get(self.site.address)
|
||||||
|
|
Loading…
Reference in a new issue