Update hb_confbridge.py

This commit is contained in:
Cort Buffington 2018-10-12 16:25:36 -05:00
parent 4d9b2f0af4
commit 3c7db08dfd
1 changed files with 4 additions and 0 deletions

View File

@ -236,6 +236,10 @@ 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('CONFIG['SYSTEMS'][_target]['ACTIVE']', CONFIG['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'):
_target_status = systems[_target['SYSTEM']].STATUS
_target_system = self._CONFIG['SYSTEMS'][_target['SYSTEM']]