diff --git a/main/astrodatagui/db/StarsDB.py b/main/astrodatagui/db/StarsDB.py index 48219bd..c0ef1cb 100644 --- a/main/astrodatagui/db/StarsDB.py +++ b/main/astrodatagui/db/StarsDB.py @@ -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"]