diff options
author | MaZderMind <git@mazdermind.de> | 2015-09-05 20:42:13 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-09-05 20:42:13 +0200 |
commit | f30bed61aa3deaa948d0233ff51ac43fd6373316 (patch) | |
tree | 50c91916c3165d3dd566e2ff019e8dd8a35f92f4 /voctocore | |
parent | 8a11bbe82406788f15ca3d68582dd1d51a6e53e8 (diff) |
return a correct response from a get_config call
Diffstat (limited to 'voctocore')
-rw-r--r-- | voctocore/lib/commands.py | 2 |
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)) |