diff --git a/FAQ.md b/FAQ.md index 2682cc2..fc035eb 100644 --- a/FAQ.md +++ b/FAQ.md @@ -33,4 +33,3 @@ Electron has to be kept up-to-date with a stable release cycle in order to get a **Can you make it so MeshChatX uses system RNS/LXMF packages?** The Python wheels can use system RNS/LXMF, and you can update them easily. With Docker, you can grab the Dockerfile, update it, and build manually. You can also build from source. As for Electron builds, there is not much that can be done right now, but I will keep exploring options. - diff --git a/meshchatx/android_push_bridge.py b/meshchatx/android_push_bridge.py index d825977..b3904f2 100644 --- a/meshchatx/android_push_bridge.py +++ b/meshchatx/android_push_bridge.py @@ -30,6 +30,7 @@ def _get_android_external_files_dir() -> str | None: return None try: from com.chaquo.python import Python + context = Python.getPlatform().getApplication() external = context.getExternalFilesDir(None) if external is not None: diff --git a/meshchatx/meshchat.py b/meshchatx/meshchat.py index e8e94cc..b9f1f04 100644 --- a/meshchatx/meshchat.py +++ b/meshchatx/meshchat.py @@ -724,7 +724,12 @@ class ReticulumMeshChat: continue iface_type = iface.get("type", "") if isinstance(iface_type, str) and iface_type.startswith("RNode"): - if str(iface.get("interface_enabled", "")).lower() in ("true", "yes", "1", "on"): + if str(iface.get("interface_enabled", "")).lower() in ( + "true", + "yes", + "1", + "on", + ): iface["interface_enabled"] = "false" modified = True if modified: diff --git a/tests/backend/test_android_rnode.py b/tests/backend/test_android_rnode.py index 21be138..05f3810 100644 --- a/tests/backend/test_android_rnode.py +++ b/tests/backend/test_android_rnode.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: 0BSD -import os import pytest