These are chat archives for cherrypy/cherrypy

15th
Feb 2017
Sviatoslav Sydorenko
@webknjaz
Feb 15 2017 09:07
:+1:
Samadi van Koten
@vktec
Feb 15 2017 09:26
If I set configuration settings according to this guide, how can I access them from a Plugin? cherrypy.request.app seems to be set to None in the start method, so I obviously can't access the config property.
Sviatoslav Sydorenko
@webknjaz
Feb 15 2017 11:03
@vktec use cherrypy.config, it's a thread local proxy
Samadi van Koten
@vktec
Feb 15 2017 13:01
@webknjaz I tried that. Got a KeyError.
Is the config stuff meant to be in the global config (loaded with cherrypy.config.update) or the application config (loaded with cherrypy.tree.mount)?
Sviatoslav Sydorenko
@webknjaz
Feb 15 2017 17:51
I guess it gets into global one