From 493b116f73ec3912ca7af3d6ece3434279cbcfb5 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 9 Mar 2018 13:38:22 +0100 Subject: renamed the project SwiftStory Signed-off-by: Olivier Gayot --- CAO/Status.py | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 CAO/Status.py (limited to 'CAO/Status.py') 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}}) -- cgit v1.2.3