mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-06-04 10:31:21 +00:00
chore(codebase): format
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# SPDX-License-Identifier: 0BSD
|
||||
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user