From ef5cd26def40677c5d4026bc32ce0037e4038935 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 22 Oct 2020 21:31:15 +0100 Subject: [PATCH] more work on tg bridge creation --- bridge_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index 5adb547..1f68e23 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1158,7 +1158,7 @@ class routerHBP(HBSYSTEM): self.STATUS[_slot]['RX_LC'] = LC_OPT + _dst_id + _rf_src #Create default bridge for unknown TG - if int_id(_dst_id) > 10 and (int_id(_dst_id) not in BRIDGES): + if int_id(_dst_id) > 10 and (str(int_id(_dst_id)) not in BRIDGES): logger.info('(%s) Bridge for TG %s does not exist. Creating as User Activated',self._system, int_id(_dst_id)) make_single_bridge(_dst_id,self._system,_slot,CONFIG['SYSTEMS'][system]['DEFAULT_UA_TIMER'])