StarsDB: replace all \\ with / in filepaths

while / works on unix/linux/windows with python, \\ (aka \) only
works on windows
This commit is contained in:
2024-06-06 12:55:00 +02:00
parent 813cf29bc9
commit 481050f840
+1 -1
View File
@@ -130,7 +130,7 @@ class StarDB():
self.insertStarInformations(mainName, spType, rotVel, rotVelUnit, self.insertStarInformations(mainName, spType, rotVel, rotVelUnit,
dist, distUnit) dist, distUnit)
for pm in productManifest: for pm in productManifest:
file = pm["Local Path"] file = pm["Local Path"].replace("\\", "/")
source = pm["source"] source = pm["source"]
sequence = pm["sector"] sequence = pm["sector"]