From f30bed61aa3deaa948d0233ff51ac43fd6373316 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 5 Sep 2015 20:42:13 +0200 Subject: return a correct response from a get_config call --- voctocore/lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voctocore/lib/commands.py b/voctocore/lib/commands.py index d2bb12c..6168b95 100644 --- a/voctocore/lib/commands.py +++ b/voctocore/lib/commands.py @@ -147,4 +147,4 @@ class ControlServerCommands(object): def get_config(self): confdict = {header: dict(section) for header, section in dict(Config).items()} - return json.dumps(confdict) + return OkResponse('server_config', json.dumps(confdict)) -- cgit v1.2.3