Always update merger sites db on content.json update

This commit is contained in:
shortcutme 2019-09-02 02:08:07 +02:00
parent 879b504b0f
commit 3c4bc6ae35
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -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)