These are chat archives for cherrypy/cherrypy

17th
Aug 2018
Wolfgang Kerzendorf
@wkerzendorf
Aug 17 2018 14:10
hey guys - I'm trying to access custom configuration options passed via cherryd before initializing the App object. I don't find the configuration dictionary on cherrypy
Sviatoslav Sydorenko
@webknjaz
Aug 17 2018 14:52
You should probably use your own runner, it's not supposed to be used like this.
Wolfgang Kerzendorf
@wkerzendorf
Aug 17 2018 15:59
@webknjaz thanks
Jason R. Coombs
@jaraco
Aug 17 2018 16:26
I would have expected invoking python -m cherrypy -c config.ini to work based on (http://docs.cherrypy.org/en/latest/config.html#application-config), but when I put [/] tools.staticdir.on=True in such a config file, it didn’t work. I suspect that feature is broken.