ETS import path relative
This commit is contained in:
parent
39d682b017
commit
9b75e591fd
1
Zuhause-ETS5
Submodule
1
Zuhause-ETS5
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 65f72ffc2cf56175b3ca2e51ec7d95228907318a
|
||||
@ -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());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user