mirror of
https://github.com/meshtastic/python.git
synced 2025-12-25 17:07:53 -05:00
Remove additional print statements
This commit is contained in:
@@ -518,7 +518,6 @@ class Node:
|
||||
logging.debug(f'onRequestGetMetadata() p:{p}')
|
||||
|
||||
if p["decoded"]["portnum"] == portnums_pb2.PortNum.Name(portnums_pb2.PortNum.ROUTING_APP):
|
||||
print('No admin, error reason: ', p["decoded"]["routing"]["errorReason"])
|
||||
if p["decoded"]["routing"]["errorReason"] != "NONE":
|
||||
logging.warning(f'Metadata request failed, error reason: {p["decoded"]["routing"]["errorReason"]}')
|
||||
self._timeout.expireTime = time.time() # Do not wait any longer
|
||||
@@ -538,7 +537,6 @@ class Node:
|
||||
logging.debug(f'onResponseRequestChannel() p:{p}')
|
||||
|
||||
if p["decoded"]["portnum"] == portnums_pb2.PortNum.Name(portnums_pb2.PortNum.ROUTING_APP):
|
||||
print('No admin, error reason: ', p["decoded"]["routing"]["errorReason"])
|
||||
if p["decoded"]["routing"]["errorReason"] != "NONE":
|
||||
logging.warning(f'Channel request failed, error reason: {p["decoded"]["routing"]["errorReason"]}')
|
||||
self._timeout.expireTime = time.time() # Do not wait any longer
|
||||
|
||||
Reference in New Issue
Block a user