Bug fix
authorJakob Cornell <jakob@jcornell.net>
Sun, 5 Jan 2020 07:24:13 +0000 (01:24 -0600)
committerJakob Cornell <jakob@jcornell.net>
Sun, 5 Jan 2020 07:24:13 +0000 (01:24 -0600)
main.py

diff --git a/main.py b/main.py
index 75a103a37939c9724e564bac22c83eb528383dec..28ae15666d6bb5e6cb940fdf120295b23159d13b 100644 (file)
--- 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()