Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e104fae66f
@ -52,7 +52,9 @@ public class DataStoreBot {
|
|||||||
//get timestamp
|
//get timestamp
|
||||||
String timestamp = (String) entry.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);
|
this.store.storeJSON(path, entry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user