From bcd6de015d90a80cd6d6851ed211d0b8425d3c73 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 23 Nov 2025 14:55:32 +0100 Subject: [PATCH] Corrected logic regression. Fixes #1004. --- RNS/Interfaces/RNodeInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Interfaces/RNodeInterface.py b/RNS/Interfaces/RNodeInterface.py index 3c119d2..d414fcb 100644 --- a/RNS/Interfaces/RNodeInterface.py +++ b/RNS/Interfaces/RNodeInterface.py @@ -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