diff --git a/Makefile b/Makefile index ed0fe8b..12e56c5 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ all: release test: @echo Running tests... - python -m tests.all + python3 -m tests.all clean: @echo Cleaning... diff --git a/RNS/Interfaces/RNodeInterface.py b/RNS/Interfaces/RNodeInterface.py index 00c97a4..bdfc6bc 100644 --- a/RNS/Interfaces/RNodeInterface.py +++ b/RNS/Interfaces/RNodeInterface.py @@ -472,13 +472,13 @@ class RNodeInterface(Interface): RNS.log("Bandwidth mismatch", RNS.LOG_ERROR) self.validcfg = False if (self.txpower != self.r_txpower): - RNS.log("TX power mismatch", RNS.LOG_ERROR) + RNS.log("TX power mismatch: " + str(self.txpower) + " vs " + str(self.r_txpower), RNS.LOG_ERROR) self.validcfg = False if (self.sf != self.r_sf): RNS.log("Spreading factor mismatch", RNS.LOG_ERROR) self.validcfg = False if (self.state != self.r_state): - RNS.log("Radio state mismatch", RNS.LOG_ERROR) + RNS.log("Radio state mismatch: " + str(self.state) + " vs " + str(self.r_state), RNS.LOG_ERROR) self.validcfg = False if (self.validcfg):