Closed JadonKrys closed 8 years ago
For config files:
ConfigParser
I think we should also add the list of mandatory fields to the config file. Better than hard code it.
json config. I like: https://github.com/WIPACrepo/iceprod/blob/master/iceprod/server/config.py
I don't know if this is too much. Currently, we just have a couple of settings. I guess for now the ConfigParser
is sufficient?!
It is currently not any more in the code.
I would suggest adding a config file where one can specify such parameters in order to avoid the need to modify the actual code.