astrodatagui: fix empty spectral type insertion
This commit is contained in:
@@ -124,6 +124,8 @@ class AstrodataGUI(QtWidgets.QMainWindow):
|
||||
|
||||
try:
|
||||
specType = result["SP_TYPE"][0]
|
||||
if(specType == ""):
|
||||
specType = "-"
|
||||
except:
|
||||
print("No spectral type found")
|
||||
specType = "-"
|
||||
|
||||
Reference in New Issue
Block a user