diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-23 15:27:43 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-23 23:15:21 +0100 |
commit | 82cd09e010783b81ec58145c7682f4b8da49ac85 (patch) | |
tree | 83b3e61aaa4befcd340a01b2fb147a2306bdb29e /swiftstory/Status.py | |
parent | 1be5c49ae402b768f9206724abdd503c18933ae1 (diff) |
Use lowercase module names
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'swiftstory/Status.py')
-rw-r--r-- | swiftstory/Status.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/swiftstory/Status.py b/swiftstory/Status.py deleted file mode 100644 index fb8347b..0000000 --- a/swiftstory/Status.py +++ /dev/null @@ -1,8 +0,0 @@ -import json - - -def error(msg, code=255): - return json.dumps({'type': 'response', 'content': {'status': code, 'info': msg}}) - -def success(obj): - return json.dumps({'type': 'response', 'content': {'status': 0, 'result': obj}}) |