mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
File separator fix
This commit is contained in:
parent
79bb14cdbe
commit
9af9c58573
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ public class Zone {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void save() throws Exception {
|
public void save() throws Exception {
|
||||||
File dataDir = new File("zones\\" + documentId);
|
File dataDir = new File("zones", documentId);
|
||||||
dataDir.mkdirs();
|
dataDir.mkdirs();
|
||||||
ObjectMapper mapper = new ObjectMapper();
|
ObjectMapper mapper = new ObjectMapper();
|
||||||
mapper.writerWithDefaultPrettyPrinter().writeValue(new File(dataDir, "config.json"), this);
|
mapper.writerWithDefaultPrettyPrinter().writeValue(new File(dataDir, "config.json"), this);
|
||||||
|
|
Loading…
Add table
Reference in a new issue