diff --git a/index.py b/index.py index 73b0aa2..d84ea08 100644 --- a/index.py +++ b/index.py @@ -142,11 +142,13 @@ def _getproxy(module,name) : def _post (module,name): # global _config global _route - _config = _route.get().config() - _plugins = _route.plugins() + _handler = _route.get() + _config = _handler.config() + _plugins = _handler.plugins() uri = '/'.join(['api',module,name]) _args = request.json + _args['config'] = _config code = 404 _info = ""