diff --git a/gatd/formatter_json.py b/gatd/formatter_json.py index 6a3b8d2..927dd72 100644 --- a/gatd/formatter_json.py +++ b/gatd/formatter_json.py @@ -22,7 +22,7 @@ def format (data, meta): # a dict if type(ret) == dict or type(ret) == list: return ret - else + else: ret = {'data': ret} return ret