From: Jakob Cornell Date: Sun, 5 Jan 2020 07:24:13 +0000 (-0600) Subject: Bug fix X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=bb8311f769dfa59783a14098a2aa219a811bdaf4;p=tutoring-tool.git Bug fix --- 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()