diff --git a/tge/outputters/json.py b/tge/outputters/json.py index b5ca915..6550574 100644 --- a/tge/outputters/json.py +++ b/tge/outputters/json.py @@ -26,7 +26,10 @@ def output_board (data, destination): os.makedirs(destination) os.makedirs(os.path.join(destination, "threads")) with open(os.path.join(destination, "index.json"), "w") as out_file: - out_file.write(json.dumps({"title": data.title}, indent=4)) + out_file.write(json.dumps({ + "title": data.title, + "description": data.description + }, indent=4)) for thread in data.children: output_thread(thread, os.path.join(destination, "threads", thread.title))