starsdb: fix UPDATE command in dbCorrection
This commit is contained in:
@@ -93,7 +93,7 @@ class StarDB():
|
|||||||
self.connection.commit()
|
self.connection.commit()
|
||||||
|
|
||||||
def dbCorrection(self):
|
def dbCorrection(self):
|
||||||
self.dbCursor.execute("""UPDATE TABLE starInfo
|
self.dbCursor.execute("""UPDATE starInfo
|
||||||
SET spType = "-"
|
SET spType = "-"
|
||||||
WHERE spType IS NULL
|
WHERE spType IS NULL
|
||||||
OR length(spType) = 0;""")
|
OR length(spType) = 0;""")
|
||||||
|
|||||||
Reference in New Issue
Block a user