Merge branch 'master' of gitlab.istic.univ-rennes1.fr:18008147/ntr

This commit is contained in:
Remi Boure 2023-03-24 08:39:32 +01:00
commit c80566da1d

View File

@ -58,7 +58,7 @@ public class AccessPoint {
try{ try{
Files.deleteIfExists(Paths.get("data.csv")); Files.deleteIfExists(Paths.get("data.csv"));
this.outputDataFile = new FileOutputStream("data.csv", true); this.outputDataFile = new FileOutputStream("data.csv", true);
outputDataFile.write("tick;x;y;user;bandwidth;\n".getBytes());
}catch(IOException e){ }catch(IOException e){
System.err.println("Cannot create the output file"); System.err.println("Cannot create the output file");
System.exit(1); System.exit(1);