mirror of
https://github.com/AkitaEngineering/Akita-Meshtastic-Meshcore-Bridge.git
synced 2026-10-31 01:42:01 +01:00
fix: update _on_meshtastic_receive method to include weak reference parameter
This commit is contained in:
1 parent
d45d230ebd
commit
89037a1bfe
1 file changed
+1
-1
@@ -184,7 +184,7 @@ class MeshtasticHandler:
|
||||
|
||||
self.logger.info("Meshtastic handler stopped.")
|
||||
|
||||
def _on_meshtastic_receive(self, packet: Dict[str, Any], interface: Any):
|
||||
def _on_meshtastic_receive(self, packet: Dict[str, Any], interface: Any, weak=None):
|
||||
try:
|
||||
if not packet or "from" not in packet:
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user