From bb8311f769dfa59783a14098a2aa219a811bdaf4 Mon Sep 17 00:00:00 2001 From: Jakob Cornell Date: Sun, 5 Jan 2020 01:24:13 -0600 Subject: [PATCH] Bug fix --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 75a103a..28ae156 100644 --- a/main.py +++ b/main.py @@ -268,7 +268,7 @@ class MainView(View): def on_gen_table(): name = self.controller.state['student'] - rows = DataEditModel.Record.DISPLAY_NAMES + self.controller.data[name] + rows = [DataEditModel.Record.DISPLAY_NAMES] + self.controller.data[name] data = json.dumps(rows).encode('utf-8') server = AsyncHttpServer(57853, data) server.start() -- 2.30.2