mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-06-08 15:02:46 -04:00
Prepare interface modularity
This commit is contained in:
parent
760ab981d0
commit
a762af035a
14 changed files with 43 additions and 31 deletions
|
@ -48,7 +48,7 @@ class UDPInterface(Interface):
|
|||
def __init__(self, owner, configuration):
|
||||
super().__init__()
|
||||
|
||||
c = configuration
|
||||
c = Interface.get_config_obj(configuration)
|
||||
name = c["name"]
|
||||
device = c["device"] if "device" in c else None
|
||||
port = int(c["port"]) if "port" in c else None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue