Fix updateHashfield optional file detection
This commit is contained in:
parent
f74ddc1010
commit
6b2f619096
1 changed files with 1 additions and 1 deletions
|
@ -967,7 +967,7 @@ class Site(object):
|
|||
# Update hashfield
|
||||
def updateHashfield(self, limit=5):
|
||||
# Return if no optional files
|
||||
if not self.content_manager.hashfield and not self.content_manager.contents.get("content.json", {}).get("files_optional"):
|
||||
if not self.content_manager.hashfield and not self.content_manager.has_optional_files:
|
||||
return False
|
||||
|
||||
s = time.time()
|
||||
|
|
Loading…
Reference in a new issue