more work on tg bridge creation

This commit is contained in:
Simon 2020-10-22 21:31:15 +01:00
parent 0f0dc820af
commit ef5cd26def

View File

@ -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'])