From 82cd09e010783b81ec58145c7682f4b8da49ac85 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 23 Dec 2021 15:27:43 +0100 Subject: Use lowercase module names Signed-off-by: Olivier Gayot --- swiftstory/Status.py | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 swiftstory/Status.py (limited to 'swiftstory/Status.py') 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}}) -- cgit v1.2.3