From 3551662187006edae247ba820b38c90b1836a493 Mon Sep 17 00:00:00 2001 From: faragher Date: Wed, 8 May 2024 02:19:59 -0500 Subject: [PATCH] Changing log levels --- RNS/Utilities/rnodeconf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RNS/Utilities/rnodeconf.py b/RNS/Utilities/rnodeconf.py index 6a49049..ea8e8fc 100755 --- a/RNS/Utilities/rnodeconf.py +++ b/RNS/Utilities/rnodeconf.py @@ -1164,15 +1164,15 @@ def rnode_open_serial(port): def graceful_exit(C=0): if RNS.vendor.platformutils.is_windows(): - RNS.log("Windows detected; delaying DTR")# ,RNS.LOG_VERBOSE + RNS.log("Windows detected; delaying DTR",RNS.LOG_VERBOSE) if rnode: - RNS.log("Sending \"Leave\" to Rnode") + RNS.log("Sending \"Leave\" to Rnode",RNS.LOG_VERBOSE) rnode.leave() # Leave has wait built in elif rnode_serial: - RNS.log("Closing raw serial") + RNS.log("Closing raw serial",RNS.LOG_VERBOSE) sleep(1) # Wait for MCU to complete operation before DTR goes false rnode_serial.close() - RNS.log("Exiting: Code "+str(C)) + RNS.log("Exiting: Code "+str(C),RNS.LOG_INFO) exit(C)