Corrected logic regression. Fixes #1014.

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

View file

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