Jorge Sisco

Results 2 comments of Jorge Sisco

This is working for me: ```python def answer(self, call): script_dir = os.path.dirname(os.path.realpath(__file__)) wav_file_path = os.path.join(script_dir, 'audio/output.wav') f = wave.open(wav_file_path, 'rb') call.answer() data = f.readframes(160) while data: call.write_audio(data) data = f.readframes(160)...

I have the following function: ```python def decode_html_body( msg: Message ) -> str | None: """ Decodes the html body of the email file. Args: msg: Returns: str: decoded html...