Improve updater

This commit is contained in:
2020-10-04 11:53:30 +02:00
parent babfe66872
commit e57f79c18b
15 changed files with 14771 additions and 22 deletions

View File

@@ -7,7 +7,6 @@ import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.nio.charset.StandardCharsets;
@@ -56,7 +55,7 @@ public class APIFootballMatch extends BaseMatch {
JSONObject object = null;
//JSON parser object to parse read file
JSONParser jsonParser = new JSONParser();
URL url = Resources.getResource((this.season + 1) + File.separator + "API-Football" + File.separator + filename);
URL url = Resources.getResource((this.season + 1) + "\\API-Football\\" + filename);
String jsonConfig = null;
try {