Site
Gitweb
Static
projects
/
tutoring-tool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
848b50f
)
Bug fix
author
Jakob Cornell
<jakob@jcornell.net>
Sun, 5 Jan 2020 07:24:13 +0000
(
01:24
-0600)
committer
Jakob Cornell
<jakob@jcornell.net>
Sun, 5 Jan 2020 07:24:13 +0000
(
01:24
-0600)
main.py
patch
|
blob
|
history
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()