summaryrefslogtreecommitdiff
path: root/swiftstory
diff options
context:
space:
mode:
Diffstat (limited to 'swiftstory')
-rw-r--r--swiftstory/SwiftStory.py2
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']