From 04210941b7a130a9f09cf4da497136f48111a948 Mon Sep 17 00:00:00 2001 From: Jen Paulhus Date: Fri, 7 Jun 2024 17:55:31 -0400 Subject: [PATCH] small thing --- lmfdb/groups/abstract/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmfdb/groups/abstract/main.py b/lmfdb/groups/abstract/main.py index c337ef48e0..26b56f5d19 100644 --- a/lmfdb/groups/abstract/main.py +++ b/lmfdb/groups/abstract/main.py @@ -1337,7 +1337,7 @@ def cc_repr(label,code , latex = True): #default is include dollar signs if latex: return "$" + gp.decode(code,as_str= True) + "$" else: # this is for download postprocess - if gp.element_repr_type == ("Perm" or "PC"): + if gp.element_repr_type == "Perm" or gp.element_repr_type == "PC": return gp.decode(code,as_str= True) else: # matrices as lists return gp.decode(code,as_str= False)