From 16cf1ab1bae28bbbafc173cf0cdb0734752b4bd3 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 12 Oct 2022 16:08:48 +0200 Subject: [PATCH] Fix debug output --- RNS/Interfaces/Android/RNodeInterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RNS/Interfaces/Android/RNodeInterface.py b/RNS/Interfaces/Android/RNodeInterface.py index 11df552..07c494b 100644 --- a/RNS/Interfaces/Android/RNodeInterface.py +++ b/RNS/Interfaces/Android/RNodeInterface.py @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -from .Interface import Interface +from RNS.Interfaces.Interface import Interface from time import sleep import sys import threading @@ -271,7 +271,7 @@ class RNodeInterface(Interface): self.serial.USB_READ_TIMEOUT_MILLIS = 100 self.serial.timeout = 0.1 - RNS.log(str(self)+" USB read buffer size set to "+RNS.prettysize(self.serial.USB_READ_BUFFER_SIZE), RNS.LOG_DEBUG) + RNS.log(str(self)+" USB read buffer size set to "+RNS.prettysize(self.serial.DEFAULT_READ_BUFFER_SIZE), RNS.LOG_DEBUG) RNS.log(str(self)+" USB read timeout set to "+str(self.serial.USB_READ_TIMEOUT_MILLIS)+"ms", RNS.LOG_DEBUG) RNS.log(str(self)+" USB write timeout set to "+str(self.serial.USB_WRITE_TIMEOUT_MILLIS)+"ms", RNS.LOG_DEBUG)