From 7f40e70c1a12775bd5da9cba70553ba7269bf728 Mon Sep 17 00:00:00 2001 From: Jakob Cornell Date: Sun, 12 Jan 2020 22:13:29 -0600 Subject: [PATCH] Bug fix --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 14e9c26..a8cf3cf 100644 --- 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 = [ -- 2.30.2