|
@@ -24,7 +24,7 @@ def set_path():
|
|
pathDict = json.load(pathFile)
|
|
pathDict = json.load(pathFile)
|
|
pathDict[path.get("name")] = path.get("coords")
|
|
pathDict[path.get("name")] = path.get("coords")
|
|
with open(filePath, "w") as pathFile:
|
|
with open(filePath, "w") as pathFile:
|
|
- json.dump(pathDict, pathFile)
|
|
|
|
|
|
+ json.dump(pathDict, pathFile, indent=2)
|
|
return "ok", 200
|
|
return "ok", 200
|
|
|
|
|
|
|
|
|