When using asterisk.agi with python 3.5, Asterisk 14 and Debian, I get the following exception
write() argument must be str, not bytes
I noticed if I replace lines 166-169:
https://github.com/rdegges/pyst2/blob/bd61a408412aef6119c750352ea2f38a71f6d596/asterisk/agi.py#L166-L169
With the following:
self.stdout.write(command)
It works fine.
Does anyone have any ideas how to fix this?
Thanks