From 8274c43eed16e98b7b71ff1afacaff8a4e630c3e Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 27 Dec 2021 18:11:13 +0000 Subject: [PATCH] Revert "Revert "protocols need to import stuff from main module (maybe separate this further)"" This reverts commit 13ebfae0a60de170326542ed1977ef99491ce52b. --- 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 *