diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-09-12 23:34:52 +0200 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-09-12 23:36:26 +0200 |
commit | 8d2f12821955beff5839c11b16d82c0e2a87917b (patch) | |
tree | a50378503221297c3abf09cf804961fb536cdff1 /swiftstory | |
parent | b38fd4f184f96960c8815355a8216dbd3abb659f (diff) |
Fix missing module name in exception type
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'swiftstory')
-rw-r--r-- | swiftstory/SwiftStory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swiftstory/SwiftStory.py b/swiftstory/SwiftStory.py index 580f1ea..de2a085 100644 --- a/swiftstory/SwiftStory.py +++ b/swiftstory/SwiftStory.py @@ -17,7 +17,7 @@ game_manager = swiftstory.GameManager.GameManager() def message_received_handler(client, message): try: json_msg = json.loads(message) - except JSONDecodeError: + except json.JSONDecodeError: return error('badly formatted json') op = json_msg['op'] |