aboutsummaryrefslogtreecommitdiff
path: root/voctocore/lib/commands.py
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-09-05 20:42:13 +0200
committerMaZderMind <git@mazdermind.de>2015-09-05 20:42:13 +0200
commitf30bed61aa3deaa948d0233ff51ac43fd6373316 (patch)
tree50c91916c3165d3dd566e2ff019e8dd8a35f92f4 /voctocore/lib/commands.py
parent8a11bbe82406788f15ca3d68582dd1d51a6e53e8 (diff)
return a correct response from a get_config call
Diffstat (limited to 'voctocore/lib/commands.py')
-rw-r--r--voctocore/lib/commands.py2
1 files changed, 1 insertions, 1 deletions
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))