diff --git a/voice_recognition.py b/voice_recognition.py index 15e9a14..fd3e77d 100644 --- a/voice_recognition.py +++ b/voice_recognition.py @@ -24,6 +24,8 @@ class CommunicationObject: self.type = msg_type self.user = user self.data = data + def __repr__(self): + return f"{self.type} : {self.user} : {self.data}" class WaveWriter: def __init__(self, user_id, queue):