notty
This commit is contained in:
parent
7085493730
commit
a1621a5ae3
@ -119,7 +119,7 @@ def make_single_bridge(_tgid,_sourcesystem,_slot):
|
|||||||
BRIDGES[_tgid_s] = []
|
BRIDGES[_tgid_s] = []
|
||||||
for _system in CONFIG['SYSTEMS']:
|
for _system in CONFIG['SYSTEMS']:
|
||||||
logger.debug('***** %s',CONFIG['SYSTEMS'][_system]['MODE'])
|
logger.debug('***** %s',CONFIG['SYSTEMS'][_system]['MODE'])
|
||||||
if CONFIG['SYSTEMS'][_system]['MODE'] != 'OPENBRIDGE':
|
if CONFIG['SYSTEMS'][_system]['MODE'] not = 'OPENBRIDGE':
|
||||||
if _system == _sourcesystem:
|
if _system == _sourcesystem:
|
||||||
if _slot == 1:
|
if _slot == 1:
|
||||||
BRIDGES[_tgid_s].append({'SYSTEM': _system, 'TS': 1, 'TGID': _tgid,'ACTIVE': True,'TIMEOUT': 240,'TO_TYPE': 'ON','OFF': [],'ON': [_tgid,],'RESET': [], 'TIMER': time() + 240, 'SINGLE': True})
|
BRIDGES[_tgid_s].append({'SYSTEM': _system, 'TS': 1, 'TGID': _tgid,'ACTIVE': True,'TIMEOUT': 240,'TO_TYPE': 'ON','OFF': [],'ON': [_tgid,],'RESET': [], 'TIMER': time() + 240, 'SINGLE': True})
|
||||||
|
Loading…
Reference in New Issue
Block a user