diff options
Diffstat (limited to 'swiftstory/player.py')
-rw-r--r-- | swiftstory/player.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swiftstory/player.py b/swiftstory/player.py index 525a4e6..7243585 100644 --- a/swiftstory/player.py +++ b/swiftstory/player.py @@ -30,7 +30,7 @@ class Player: self.next_idx += 1 return self.next_idx - 1 - def register_notification(self, obj: Any): + def register_notification(self, obj: Any) -> None: message = json.dumps({'type': 'notification', 'content': obj}) self.notifications.put_nowait(message) |