Don't log owned local file reload
This commit is contained in:
parent
274414a54b
commit
3524198599
1 changed files with 0 additions and 4 deletions
|
@ -82,10 +82,6 @@ class FileRequest(object):
|
||||||
self.response({"error": "Unknown site"})
|
self.response({"error": "Unknown site"})
|
||||||
return False
|
return False
|
||||||
if site.settings["own"] and params["inner_path"].endswith("content.json"):
|
if site.settings["own"] and params["inner_path"].endswith("content.json"):
|
||||||
self.log.debug(
|
|
||||||
"%s pushing a file to own site %s, reloading local %s first" %
|
|
||||||
(self.connection.ip, site.address, params["inner_path"])
|
|
||||||
)
|
|
||||||
changed, deleted = site.content_manager.loadContent(params["inner_path"], add_bad_files=False)
|
changed, deleted = site.content_manager.loadContent(params["inner_path"], add_bad_files=False)
|
||||||
|
|
||||||
if not params["inner_path"].endswith("content.json"):
|
if not params["inner_path"].endswith("content.json"):
|
||||||
|
|
Loading…
Reference in a new issue