starsdb: fix UPDATE command in dbCorrection
This commit is contained in:
@@ -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;""")
|
||||
|
||||
Reference in New Issue
Block a user