Fix error in LANG when using peers and xlxpeers
This commit is contained in:
parent
a3c01e393e
commit
aaf8580d3d
@ -2223,7 +2223,7 @@ if __name__ == '__main__':
|
||||
if CONFIG['SYSTEMS'][system]['MODE'] == 'OPENBRIDGE':
|
||||
systems[system] = routerOBP(system, CONFIG, report_server)
|
||||
else:
|
||||
if CONFIG['SYSTEMS'][system]['ANNOUNCEMENT_LANGUAGE'] not in CONFIG['GLOBAL']['ANNOUNCEMENT_LANGUAGES'].split(','):
|
||||
if CONFIG['SYSTEMS'][system]['MODE'] == 'MASTER' and CONFIG['SYSTEMS'][system]['ANNOUNCEMENT_LANGUAGE'] not in CONFIG['GLOBAL']['ANNOUNCEMENT_LANGUAGES'].split(','):
|
||||
logger.warning('(GLOBAL) Invalid language in ANNOUNCEMENT_LANGUAGE, skipping system %s',system)
|
||||
continue
|
||||
systems[system] = routerHBP(system, CONFIG, report_server)
|
||||
|
Loading…
Reference in New Issue
Block a user