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:
e240132
)
Bug fix
author
Jakob Cornell
<jakob+gpg@jcornell.net>
Mon, 13 Jan 2020 04:13:29 +0000
(22:13 -0600)
committer
Jakob Cornell
<jakob+gpg@jcornell.net>
Mon, 13 Jan 2020 04:13:29 +0000
(22:13 -0600)
main.py
patch
|
blob
|
history
diff --git
a/main.py
b/main.py
index 14e9c26686909e953def5c13d518ff5e846547a6..a8cf3cfaeb9dc09bbf650ea7102a00490aeb1969 100644
(file)
--- a/
main.py
+++ b/
main.py
@@
-335,7
+335,8
@@
class MainView(View):
head.insert(5, "Score (Comp)")
def with_composite(record):
new = list(record)
- new.insert(5, round(record.overall_score(), 1))
+ overall = record.overall_score()
+ new.insert(5, None if overall is None else round(overall, 1))
return new
rows = map(with_composite, self.controller.data[name])
rows = [