astrodatagui: StarsDB: switch to unix type filepath
This commit is contained in:
@@ -97,6 +97,10 @@ class StarDB():
|
|||||||
SET spType = "-"
|
SET spType = "-"
|
||||||
WHERE spType IS NULL
|
WHERE spType IS NULL
|
||||||
OR length(spType) = 0;""")
|
OR length(spType) = 0;""")
|
||||||
|
self.dbCursor.execute("""UPDATE stars
|
||||||
|
SET filename = replace(filename, '\\', '/')
|
||||||
|
WHERE filename LIKE '%\\%';""")
|
||||||
|
|
||||||
|
|
||||||
def insertDefaultValues(self):
|
def insertDefaultValues(self):
|
||||||
sources = ["TESS", "Kepler", "K2"]
|
sources = ["TESS", "Kepler", "K2"]
|
||||||
|
|||||||
Reference in New Issue
Block a user