Intermediate info.json dump file is also now indented

This commit is contained in:
coder 2020-04-25 22:26:17 +10:00
parent ed3d3e3780
commit 41d674e6b1

View File

@ -200,7 +200,7 @@ class extractData:
self.indexJs = "search.assignIndex("+json.dumps(self.indexDictList, indent=4)+")" self.indexJs = "search.assignIndex("+json.dumps(self.indexDictList, indent=4)+")"
def generateInfoJson(self): def generateInfoJson(self):
self.infoJson = json.dumps(self.bundlesInfoList) self.infoJson = json.dumps(self.bundlesInfoList, indent=4)
def __init__(self, bundlesDir, websiteDir): def __init__(self, bundlesDir, websiteDir):
""" FIXME: WARNING:: some files may be missing such as some app """ FIXME: WARNING:: some files may be missing such as some app