no special characters
This commit is contained in:
parent
37caa0beac
commit
5aa1b409f2
@ -53,7 +53,9 @@ public class DataStoreBot {
|
||||
//get timestamp
|
||||
String timestamp = (String) entry.get("timestamp");
|
||||
|
||||
String path = this.storePath + country + "-" + sensorID + "-" + timestamp + ".json";;
|
||||
String path = this.storePath + country + "-" + sensorID + "-" + timestamp + ".json";
|
||||
path = path.replace(":", "-");
|
||||
path = path.replace(" ", "-");
|
||||
this.store.storeJSON(path, entry);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user