fix remote config issue with PROXY

This commit is contained in:
KF7EEL 2021-12-02 20:41:24 -08:00
parent 5bd4f0c99b
commit 05a90cc9e6
1 changed files with 12 additions and 11 deletions

View File

@ -475,6 +475,7 @@ def gen_proxy_unit(UNIT):
# but it has to exist.
def make_bridges(_rules):
_new_rules = copy.deepcopy(_rules)
if LOCAL_CONFIG['WEB_SERVICE']['REMOTE_CONFIG_ENABLED'] == False:
for _bridge in _rules:
for _system in _rules[_bridge]:
if LOCAL_CONFIG['SYSTEMS'][_system['SYSTEM']]['MODE'] == 'PROXY':