create bridge logic fix

This commit is contained in:
Simon 2020-10-22 21:21:45 +01:00
parent bac08e5e08
commit 0f0dc820af
1 changed files with 1 additions and 1 deletions

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