Simon 3 years ago
parent 90d7d657bd
commit 293a8e4642

@ -424,7 +424,7 @@ def bridgeDebug():
bridgetmout = ordered.pop() bridgetmout = ordered.pop()
_setbridge = str(times[bridgetmout]) _setbridge = str(times[bridgetmout])
if CONFIG['SYSTEMS'][system]['MODE'] == 'MASTER': if CONFIG['SYSTEMS'][system]['MODE'] == 'MASTER':
logger.warning('(BRIDGEDEBUG) setting %s dial bridge to %s as this bridge has the longest timer set to run',system, _setbridge) logger.warning('(BRIDGEDEBUG) not setting %s dial bridge to %s as this bridge has the longest timer set to run',system, _setbridge)
for _bridge in set(times.values()): for _bridge in set(times.values()):
# for _entry in BRIDGES[_bridge]: # for _entry in BRIDGES[_bridge]:
@ -442,9 +442,10 @@ def bridgeDebug():
bridgetemp.append(bridgesystem) bridgetemp.append(bridgesystem)
BRIDGES[_bridge] = bridgetemp BRIDGES[_bridge] = bridgetemp
logger.warning('(BRIDGEDEBUG) reactivating system: %s for TG: %s with timer: ',system,_setbridge,CONFIG['SYSTEMS'][system]['DEFAULT_UA_TIMER']) # logger.warning('(BRIDGEDEBUG) reactivating system: %s for TG: %s with timer: ',system,_setbridge,CONFIG['SYSTEMS'][system]['DEFAULT_UA_TIMER'])
# if system['ACTIVE'] == False:
make_single_reflector(_setbridge,CONFIG['SYSTEMS'][system]['DEFAULT_UA_TIMER'],system) # system['ACTIVE'] = True
# system['TIMER'] = _rst_time + system['TIMEOUT']
logger.info('(BRIDGEDEBUG) The server currently has %s STATic bridges',statroll) logger.info('(BRIDGEDEBUG) The server currently has %s STATic bridges',statroll)

Loading…
Cancel
Save

Powered by TurnKey Linux.