Skip to content

Commit

Permalink
evidently none isn't always none
Browse files Browse the repository at this point in the history
  • Loading branch information
jenpaulhus committed Dec 21, 2023
1 parent 79ef9ad commit fc105d9
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 fc105d9

Please sign in to comment.