From 87ed5925b59c126cdeb81bc77cefc65bbe3fed12 Mon Sep 17 00:00:00 2001 From: supertick Date: Sun, 26 May 2024 10:15:05 -0700 Subject: [PATCH] removed port guard from webgui --- src/main/java/org/myrobotlab/service/WebGui.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;