diff --git a/voice_recognition.py b/voice_recognition.py index 61a7315..523ea9c 100644 --- a/voice_recognition.py +++ b/voice_recognition.py @@ -69,7 +69,7 @@ class WaveWriter: self.transcript_file_future.setnchannels(CHANNELS) self.transcript_file_future.setsampwidth(SAMPLE_WIDTH) self.transcript_file_future.setframerate(SAMPLING_RATE) - operation = CommunicationObject(msg_type="send_file",user=self.user,data=[self.file_name_present]) + operation = CommunicationObject(msg_type="send_file",user=self.user,data=[self.file_name_past]) logger.info("Item added to queue %s %s", self.queue, operation) await self.queue.put(operation)