diff --git a/main/astrodatagui/db/StarsDB.py b/main/astrodatagui/db/StarsDB.py index 11fdd7b..48219bd 100644 --- a/main/astrodatagui/db/StarsDB.py +++ b/main/astrodatagui/db/StarsDB.py @@ -93,7 +93,7 @@ class StarDB(): self.connection.commit() def dbCorrection(self): - self.dbCursor.execute("""UPDATE TABLE starInfo + self.dbCursor.execute("""UPDATE starInfo SET spType = "-" WHERE spType IS NULL OR length(spType) = 0;""")