working export-config

This commit is contained in:
pdxlocations
2025-06-23 22:39:24 -07:00
parent 0bb3389b3b
commit 84417f0bb1
3 changed files with 17 additions and 9 deletions

View File

@@ -1076,13 +1076,18 @@ class MeshInterface: # pylint: disable=R0902
if user is not None:
return user.get("publicKey", None)
return None
def getCannedMessage(self):
"""Fetch and return the canned message from the local node."""
if hasattr(self, "localNode") and self.localNode:
return self.localNode.get_canned_message()
else:
raise RuntimeError("No local node available.")
return None
def getRingtone(self):
"""Fetch and return the ringtone from the local node."""
if hasattr(self, "localNode") and self.localNode:
return self.localNode.get_ringtone()
return None
def _waitConnected(self, timeout=30.0):
"""Block until the initial node db download is complete, or timeout