From 41d674e6b11f84e07bff756e28d6ba55b86fe737 Mon Sep 17 00:00:00 2001 From: coder Date: Sat, 25 Apr 2020 22:26:17 +1000 Subject: [PATCH] Intermediate info.json dump file is also now indented --- generator/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/main.py b/generator/main.py index 8af37ba..0293c23 100644 --- a/generator/main.py +++ b/generator/main.py @@ -200,7 +200,7 @@ class extractData: self.indexJs = "search.assignIndex("+json.dumps(self.indexDictList, indent=4)+")" def generateInfoJson(self): - self.infoJson = json.dumps(self.bundlesInfoList) + self.infoJson = json.dumps(self.bundlesInfoList, indent=4) def __init__(self, bundlesDir, websiteDir): """ FIXME: WARNING:: some files may be missing such as some app