diff --git a/src/main/java/org/myrobotlab/service/WebGui.java b/src/main/java/org/myrobotlab/service/WebGui.java index 4188def30d..5a0ee4fcc4 100644 --- a/src/main/java/org/myrobotlab/service/WebGui.java +++ b/src/main/java/org/myrobotlab/service/WebGui.java @@ -1169,7 +1169,7 @@ public WebGuiConfig getConfig() { public WebGuiConfig apply(WebGuiConfig c) { super.apply(c); - if (c.port != null && (port != null && c.port.intValue() != port.intValue())) { + if (c.port != null) { setPort(c.port); } autoStartBrowser(c.autoStartBrowser); @@ -1184,7 +1184,7 @@ public static void main(String[] args) { try { - Runtime.main(new String[] { "--log-level", "warn", "-s", "log", "Log", "webgui", "WebGui", "intro", "Intro", "python", "Python" }); + Runtime.main(new String[] { "--log-level", "warn", "-s", "webgui", "WebGui"}); // Runtime.main(new String[] { "--install" }); boolean done = true;