diff --git a/main/astrodatagui/AstrodataGUI.py b/main/astrodatagui/AstrodataGUI.py index d389c3e..fb2a733 100644 --- a/main/astrodatagui/AstrodataGUI.py +++ b/main/astrodatagui/AstrodataGUI.py @@ -124,6 +124,8 @@ class AstrodataGUI(QtWidgets.QMainWindow): try: specType = result["SP_TYPE"][0] + if(specType == ""): + specType = "-" except: print("No spectral type found") specType = "-"