diff options
Diffstat (limited to 'CAO_Status.py')
-rw-r--r-- | CAO_Status.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/CAO_Status.py b/CAO_Status.py deleted file mode 100644 index 782a0b4..0000000 --- a/CAO_Status.py +++ /dev/null @@ -1,7 +0,0 @@ -import json - -def cao_error(msg, code=255): - return json.dumps({'type': 'response', 'content': {'status': code, 'info': msg}}) - -def cao_success(obj): - return json.dumps({'type': 'response', 'content': {'status': 0, 'result': obj}}) |