diff --git a/RNS/Interfaces/WeaveInterface.py b/RNS/Interfaces/WeaveInterface.py index d2d3fc7..a896a7b 100644 --- a/RNS/Interfaces/WeaveInterface.py +++ b/RNS/Interfaces/WeaveInterface.py @@ -1,6 +1,5 @@ import RNS import threading -import serial import time from collections import deque diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py index cd80e64..f2594b3 100755 --- a/RNS/Reticulum.py +++ b/RNS/Reticulum.py @@ -767,6 +767,10 @@ class Reticulum: interface_post_init(interface) interface.start() + if c["type"] == "WeaveInterface": + interface = WeaveInterface.WeaveInterface(RNS.Transport, interface_config) + interface_post_init(interface) + if interface == None: # Interface was not handled by any internal interface types, # attempt to load and initialise it from user-supplied modules