Update hb_confbridge.py

This commit is contained in:
Cort Buffington 2018-10-12 16:26:42 -05:00
parent 3c7db08dfd
commit 28007dcc87
1 changed files with 3 additions and 3 deletions

View File

@ -236,10 +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('_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'])
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']]