Rev562, Check site privatekey from users.json when executing siteSign, Optional files checking on owned sites, Fix workermanager error on set list of peers, Fix PROTOCOL_SSLv3 error happens on some linux distrib

This commit is contained in:
HelloZeroNet 2015-11-08 12:33:13 +01:00
parent c2fc131cdc
commit 2cf34c132f
6 changed files with 27 additions and 7 deletions

View file

@ -258,8 +258,10 @@ class Site:
self.log.debug("Fallback to old-style update")
self.redownloadContents()
if not self.settings["own"]:
self.storage.checkFiles(quick_check=True) # Quick check files based on file size
if self.settings["own"]:
self.storage.verifyFiles(quick_check=True) # Check files (need for optional files)
else:
self.storage.checkFiles(quick_check=True) # Quick check and mark bad files based on file size
changed, deleted = self.content_manager.loadContent("content.json")