Fix: Prevent writing None to I2PInterface config #14

Merged
Sudo-Ivan merged 1 commits from i2p-ifac-fix into master 2025-10-02 02:09:22 +00:00
Showing only changes of commit 51eaa83301 - Show all commits

View File

@@ -508,7 +508,7 @@ class ReticulumMeshChat:
# handle I2P interface # handle I2P interface
if interface_type == "I2PInterface": if interface_type == "I2PInterface":
interface_details['connectable'] = "True" interface_details['connectable'] = "True"
interface_details["peers"] = data.get('peers') InterfaceEditor.update_value(interface_details, data, "peers")
# handle tcp server interface # handle tcp server interface
if interface_type == "TCPServerInterface": if interface_type == "TCPServerInterface":