From d01091afabaeb2665fa8773ccd37cc437230c9eb Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 15 May 2020 00:32:45 +0200 Subject: Add cosmetic changes Signed-off-by: Olivier Gayot --- swiftstory/Status.py | 1 + 1 file changed, 1 insertion(+) (limited to 'swiftstory/Status.py') 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}}) -- cgit v1.2.3