Don't import config for IPSC not enabled
This commit is contained in:
parent
e02c03a099
commit
91a7e773b2
@ -89,7 +89,7 @@ try:
|
|||||||
'LOG_LEVEL': config.get(section, 'LOG_LEVEL'),
|
'LOG_LEVEL': config.get(section, 'LOG_LEVEL'),
|
||||||
'LOG_NAME': config.get(section, 'LOG_NAME')
|
'LOG_NAME': config.get(section, 'LOG_NAME')
|
||||||
}
|
}
|
||||||
else:
|
elif config.getboolean(section, 'ENABLED'):
|
||||||
# All other sections define indiviual IPSC Networks we connect to
|
# All other sections define indiviual IPSC Networks we connect to
|
||||||
# Each IPSC network config will contain the following three sections
|
# Each IPSC network config will contain the following three sections
|
||||||
NETWORK.update({section: {'LOCAL': {}, 'MASTER': {}, 'PEERS': {}}})
|
NETWORK.update({section: {'LOCAL': {}, 'MASTER': {}, 'PEERS': {}}})
|
||||||
|
Loading…
Reference in New Issue
Block a user