From 18cf1203e0443578fa9d1d358896ef7e8a737742 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 28 Mar 2021 11:29:30 +0100 Subject: [PATCH] Missing import for bytes_4 --- bridge_master.py | 13 +------------ playback.py | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/bridge_master.py b/bridge_master.py index 922bd3d..277bbfb 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1254,18 +1254,7 @@ class routerOBP(OPENBRIDGE): else: # Loop Control - - #if 'LOOPHOLD' in self.STATUS[_stream_id]: - #if self.STATUS[_stream_id]['LOOPHOLD'] < 5: - #logger.debug ('(%s) Avoid packet due to loophold: %s',self._system,self.STATUS[_stream_id]['LOOPHOLD']) - #self.STATUS[_stream_id]['LOOPHOLD'] = self.STATUS[_stream_id]['LOOPHOLD'] + 1 - #else: - #try: - #self.STATUS.pop('LOOPHOLD') - #except: - #pass - #return - + for system in systems: if system == self._system: continue diff --git a/playback.py b/playback.py index dfc436e..6081a92 100755 --- a/playback.py +++ b/playback.py @@ -32,7 +32,7 @@ from twisted.internet import reactor, task # Things we import from the main hblink module from hblink import HBSYSTEM, systems, hblink_handler, reportFactory, REPORT_OPCODES, config_reports, mk_aliases -from dmr_utils3.utils import bytes_3, int_id, get_alias +from dmr_utils3.utils import bytes_3, bytes_4, int_id, get_alias from dmr_utils3 import decode, bptc, const import config import log