From 54cf9e628a52264eab86298aec08d1f76153217c Mon Sep 17 00:00:00 2001 From: David Roe Date: Mon, 16 Dec 2024 22:22:41 -0500 Subject: [PATCH] Fix Nones --- lmfdb/local_fields/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lmfdb/local_fields/main.py b/lmfdb/local_fields/main.py index bc490d5bf5..53c929346b 100644 --- a/lmfdb/local_fields/main.py +++ b/lmfdb/local_fields/main.py @@ -305,14 +305,14 @@ def galcolresponse(n,t,cache): return group_pretty_and_nTj(n, t, cache=cache) def formatbracketcol(blist): - if blist is None: - return 'not computed' if blist == []: return r'$[\ ]$' + if blist == '': + return 'not computed' return f'${blist}$' def intcol(j): - if j is None: + if j == '': return 'not computed' return f'${j}$'