Save site on content.json arrive
This commit is contained in:
parent
f38f4c3758
commit
1ec00947ad
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ class Site(object):
|
||||||
self.log.debug("Got %s" % inner_path)
|
self.log.debug("Got %s" % inner_path)
|
||||||
changed, deleted = self.content_manager.loadContent(inner_path, load_includes=False)
|
changed, deleted = self.content_manager.loadContent(inner_path, load_includes=False)
|
||||||
|
|
||||||
|
if inner_path == "content.json":
|
||||||
|
self.saveSettings()
|
||||||
|
|
||||||
if peer: # Update last received update from peer to prevent re-sending the same update to it
|
if peer: # Update last received update from peer to prevent re-sending the same update to it
|
||||||
peer.last_content_json_update = self.content_manager.contents[inner_path]["modified"]
|
peer.last_content_json_update = self.content_manager.contents[inner_path]["modified"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue