Skip to content

Commit

Permalink
Fix Nones
Browse files Browse the repository at this point in the history
  • Loading branch information
roed314 committed Dec 17, 2024
1 parent 3197322 commit 54cf9e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lmfdb/local_fields/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}$'

Expand Down

0 comments on commit 54cf9e6

Please sign in to comment.