forhavu commited on
Commit
b72a41d
·
1 Parent(s): ce6b9b8

added missing index

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -195,7 +195,7 @@ def load_config():
195
  ["supported_modes", list, "Section `supported_modes` must be a list with indented entries starting with dashes.."]]
196
  for section in sections:
197
  if section[0] not in CONFIG:
198
- raise Exception("Your config.yml does not have required section `{}`.".format(section))
199
  elif not isinstance(CONFIG[section[0]], section[1]):
200
  raise Exception(section[2])
201
 
 
195
  ["supported_modes", list, "Section `supported_modes` must be a list with indented entries starting with dashes.."]]
196
  for section in sections:
197
  if section[0] not in CONFIG:
198
+ raise Exception("Your config.yml does not have required section `{}`.".format(section[0]))
199
  elif not isinstance(CONFIG[section[0]], section[1]):
200
  raise Exception(section[2])
201