diff --git a/voice_recognition.py b/voice_recognition.py index 00eb40b..8c0b5fd 100644 --- a/voice_recognition.py +++ b/voice_recognition.py @@ -110,7 +110,7 @@ class SRBuffer(voice_recv.AudioSink): self.wavewriter.pop(username) def rotate_user(self,username): - self.wavewriter[username].rotate() + self.wavewriter[str(username)].rotate() def wants_opus(self) -> bool: return False