This commit is contained in:
pvizeli 2017-04-07 09:11:05 +02:00
parent 61e133df6b
commit 878eb40258

View File

@ -68,7 +68,7 @@ def api_return_error(message=None):
}) })
def api_return_ok(data={}): def api_return_ok(data=dict()):
"""Return a API ok answer.""" """Return a API ok answer."""
return web.json_response({ return web.json_response({
JSON_RESULT: RESULT_OK, JSON_RESULT: RESULT_OK,