From 659f9d30539ac47d82d44e7ea227825e46e5e38c Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 27 Dec 2021 18:01:42 +0000 Subject: [PATCH] protocols need to import stuff from main module (maybe separate this further) --- FreeDMR/Protocol/HomeBrewProtocol.py | 1 + FreeDMR/Protocol/OpenBridge.py | 1 + 2 files changed, 2 insertions(+) diff --git a/FreeDMR/Protocol/HomeBrewProtocol.py b/FreeDMR/Protocol/HomeBrewProtocol.py index 158bb79..d3ca69c 100644 --- a/FreeDMR/Protocol/HomeBrewProtocol.py +++ b/FreeDMR/Protocol/HomeBrewProtocol.py @@ -42,6 +42,7 @@ from twisted.protocols.basic import NetstringReceiver from twisted.internet import reactor, task # Other files we pull from -- this is mostly for readability and segmentation +from FreeDMR.freedmr import systems, freedmr_handler, reportFactory, REPORT_OPCODES, mk_aliases, acl_check import FreeDMR.Utilities.log as log import FreeDMR.Config.config as config from FreeDMR.Const.const import * diff --git a/FreeDMR/Protocol/OpenBridge.py b/FreeDMR/Protocol/OpenBridge.py index b4b7cf4..5269e18 100644 --- a/FreeDMR/Protocol/OpenBridge.py +++ b/FreeDMR/Protocol/OpenBridge.py @@ -42,6 +42,7 @@ from twisted.protocols.basic import NetstringReceiver from twisted.internet import reactor, task # Other files we pull from -- this is mostly for readability and segmentation +from FreeDMR.freedmr import systems, freedmr_handler, reportFactory, REPORT_OPCODES, mk_aliases, acl_check import FreeDMR.Utilities.log as log import FreeDMR.Config.config as config from FreeDMR.Const.const import *