Skip to content

Commit

Permalink
Merge pull request #5788 from jenpaulhus/fixerror
Browse files Browse the repository at this point in the history
evidently none isn't always none
  • Loading branch information
AndrewVSutherland authored Dec 21, 2023
2 parents 79ef9ad + fc105d9 commit d106176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmfdb/groups/abstract/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ def show_factor(n):

#for irrQ_degree and irrC_degree gives negative value as "-"
def remove_negatives(n):
if n is None:
if n is None or n == "":
return "?"
elif int(n) < 1:
return "-"
Expand Down

0 comments on commit d106176

Please sign in to comment.