Corrected logic regression. Fixes #1004.

This commit is contained in:
Mark Qvist 2025-11-23 14:55:32 +01:00
parent b798c84160
commit bcd6de015d

View file

@ -185,7 +185,7 @@ class RNodeInterface(Interface):
else: else:
ble_name = ble_string ble_name = ble_string
if port.lower().startswith(tcp_uri_scheme): elif port.lower().startswith(tcp_uri_scheme):
force_tcp = True force_tcp = True
tcp_string = port[len(tcp_uri_scheme):] tcp_string = port[len(tcp_uri_scheme):]
port = None port = None