Intermediate info.json dump file is also now indented

This commit is contained in:
Manish 2020-04-25 22:26:17 +10:00
parent 02a5bf233f
commit 5e9ae7f2f0

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