From 481050f840702b2b94e02408ef48487bbaed4089 Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Thu, 6 Jun 2024 12:55:00 +0200 Subject: [PATCH] StarsDB: replace all \\ with / in filepaths while / works on unix/linux/windows with python, \\ (aka \) only works on windows --- main/astrodatagui/db/StarsDB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/astrodatagui/db/StarsDB.py b/main/astrodatagui/db/StarsDB.py index c0ef1cb..172a9f4 100644 --- a/main/astrodatagui/db/StarsDB.py +++ b/main/astrodatagui/db/StarsDB.py @@ -130,7 +130,7 @@ class StarDB(): self.insertStarInformations(mainName, spType, rotVel, rotVelUnit, dist, distUnit) for pm in productManifest: - file = pm["Local Path"] + file = pm["Local Path"].replace("\\", "/") source = pm["source"] sequence = pm["sector"]