Don't import config for IPSC not enabled

This commit is contained in:
Cort Buffington 2014-10-06 08:17:39 -05:00
parent e02c03a099
commit 91a7e773b2
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ try:
'LOG_LEVEL': config.get(section, 'LOG_LEVEL'),
'LOG_NAME': config.get(section, 'LOG_NAME')
}
else:
elif config.getboolean(section, 'ENABLED'):
# All other sections define indiviual IPSC Networks we connect to
# Each IPSC network config will contain the following three sections
NETWORK.update({section: {'LOCAL': {}, 'MASTER': {}, 'PEERS': {}}})