mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-07-26 08:15:24 -04:00
Cleanup
This commit is contained in:
parent
ae92432878
commit
4ece3a6140
1 changed files with 4 additions and 2 deletions
|
@ -2186,11 +2186,13 @@ class Transport:
|
||||||
packet.receiving_interface = interface
|
packet.receiving_interface = interface
|
||||||
|
|
||||||
return packet
|
return packet
|
||||||
else:
|
|
||||||
return None
|
else: return None
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
RNS.log("Exception occurred while getting cached packet.", RNS.LOG_ERROR)
|
RNS.log("Exception occurred while getting cached packet.", RNS.LOG_ERROR)
|
||||||
RNS.log("The contained exception was: "+str(e), RNS.LOG_ERROR)
|
RNS.log("The contained exception was: "+str(e), RNS.LOG_ERROR)
|
||||||
|
return None
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def cache_request_packet(packet):
|
def cache_request_packet(packet):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue