astrodatagui: StarsDB: switch to unix type filepath

This commit is contained in:
2024-06-06 10:43:15 +02:00
parent 157f7b6fa3
commit a94e7e513c
+4
View File
@@ -97,6 +97,10 @@ class StarDB():
SET spType = "-"
WHERE spType IS NULL
OR length(spType) = 0;""")
self.dbCursor.execute("""UPDATE stars
SET filename = replace(filename, '\\', '/')
WHERE filename LIKE '%\\%';""")
def insertDefaultValues(self):
sources = ["TESS", "Kepler", "K2"]