Only download content.json files as content
This commit is contained in:
parent
961fcbf660
commit
2aba9cc3c2
1 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,9 @@ class Site(object):
|
||||||
if config.verbose:
|
if config.verbose:
|
||||||
self.log.debug("Downloading %s..." % inner_path)
|
self.log.debug("Downloading %s..." % inner_path)
|
||||||
|
|
||||||
|
if not inner_path.endswith("content.json"):
|
||||||
|
return False
|
||||||
|
|
||||||
found = self.needFile(inner_path, update=self.bad_files.get(inner_path))
|
found = self.needFile(inner_path, update=self.bad_files.get(inner_path))
|
||||||
content_inner_dir = helper.getDirname(inner_path)
|
content_inner_dir = helper.getDirname(inner_path)
|
||||||
if not found:
|
if not found:
|
||||||
|
|
Loading…
Reference in a new issue