You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main configuration file of a command is a YAML file (the file named after the leaf command; for example, conf/users/add.yml of the users add command) . This should be a dict as each key in the file is loaded as a configuration parameter to the module.
If the file is empty, the module crash with this exception:
...
File "/tmp/test/env/lib/python3.7/site-packages/clg/conf/src.py", line 50, in init
self.load_dir(conf_dir, clg.config, commands)
File "/tmp/test/env/lib/python3.7/site-packages/clg/conf/src.py", line 97, in load_dir
self.load_cmd_file(cmd_filepath)
File "/tmp/test/env/lib/python3.7/site-packages/clg/conf/src.py", line 76, in load_cmd_file
for param, value in conf.items():
AttributeError: 'NoneType' object has no attribute 'items'
The text was updated successfully, but these errors were encountered:
The main configuration file of a command is a YAML file (the file named after the leaf command; for example, conf/users/add.yml of the
users add
command) . This should be a dict as each key in the file is loaded as a configuration parameter to the module.If the file is empty, the module crash with this exception:
The text was updated successfully, but these errors were encountered: