diff options
Diffstat (limited to 'swiftstory/Status.py')
-rw-r--r-- | swiftstory/Status.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swiftstory/Status.py b/swiftstory/Status.py index 4e8c84d..fb8347b 100644 --- a/swiftstory/Status.py +++ b/swiftstory/Status.py @@ -1,5 +1,6 @@ import json + def error(msg, code=255): return json.dumps({'type': 'response', 'content': {'status': code, 'info': msg}}) |