ETS import path relative

This commit is contained in:
Patrick Haßel 2021-11-05 20:38:16 +01:00
parent 39d682b017
commit 9b75e591fd
2 changed files with 2 additions and 1 deletions

1
Zuhause-ETS5 Submodule

@ -0,0 +1 @@
Subproject commit 65f72ffc2cf56175b3ca2e51ec7d95228907318a

View File

@ -24,7 +24,7 @@ public class KnxGroupImportService {
public void importGroups() {
knxGroupRepository.findAll().forEach(knxGroup -> knxGroup.setEts(false));
try {
Jsoup.parse(new File("/home/patrick/Zuhause-ETS5/G"), "UTF-8").select("GA").forEach(this::importGroup);
Jsoup.parse(new File("./Zuhause-ETS5/G"), "UTF-8").select("GA").forEach(this::importGroup);
} catch (IOException e) {
log.error("Failed to import KnxGroups: {}", e.toString());
}