split config and property code, first test

This commit is contained in:
Jakob Ketterl
2020-03-21 22:40:39 +01:00
parent 7948b7bfa1
commit 541c38151f
24 changed files with 210 additions and 193 deletions

View File

@ -2,7 +2,7 @@ import socket
import time
import logging
import random
from owrx.config import PropertyManager
from owrx.config import Config
logger = logging.getLogger(__name__)
@ -14,7 +14,7 @@ TFESC = 0xDD
class DirewolfConfig(object):
def getConfig(self, port, is_service):
pm = PropertyManager.getSharedInstance()
pm = Config.get()
config = """
ACHANNELS 1