Update hb_confbridge.py

This commit is contained in:
Cort Buffington 2018-10-12 16:37:01 -05:00
parent 5fd5ecb2ef
commit 85139a17e6
1 changed files with 1 additions and 6 deletions

View File

@ -236,12 +236,7 @@ class routerOBP(OPENBRIDGE):
if (_system['SYSTEM'] == self._system and _system['TGID'] == _dst_id and _system['TS'] == _slot and _system['ACTIVE'] == True):
for _target in BRIDGES[_bridge]:
print('_target[\'SYSTEM\']', _target['SYSTEM'])
print('self._system', self._system)
print('target', _target)
print('CONFIG[\'SYSTEMS\'][_target][\'ACTIVE\']', CONFIG['SYSTEMS']) #['SYSTEMS'][_target]['ACTIVE'])
print('CONFIG[\'SYSTEMS\'][_target][\'MODE\']', CONFIG['SYSTEMS'][_target]['MODE'])
if (_target['SYSTEM'] != self._system) and (CONFIG['SYSTEMS'][_target]['ACTIVE']) and (CONFIG['SYSTEMS'][_target]['MODE'] != 'OPENBRIDGE'):
if (_target['SYSTEM'] != self._system) and (CONFIG['SYSTEMS'][_target['SYSTEM']]['ACTIVE']) and (CONFIG['SYSTEMS'][_target['SYSTEM']]['MODE'] != 'OPENBRIDGE'):
_target_status = systems[_target['SYSTEM']].STATUS
_target_system = self._CONFIG['SYSTEMS'][_target['SYSTEM']]